[tracker/tracker-0.8-with-ontology-cope-and-miner-fs-index: 16/17] NFO: Add an index on nfo:fileLastModified for miner-fs's crawling performance



commit 02ef93d7f2f096208784bdc8d6f788ed81eb312f
Author: Philip Van Hoof <philip codeminded be>
Date:   Thu Apr 22 13:23:46 2010 +0200

    NFO: Add an index on nfo:fileLastModified for miner-fs's crawling performance

 data/ontologies/33-nfo.ontology |    5 +++--
 data/ontologies/Indices.list    |    4 ++++
 2 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 96429cb..48130f3 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -12,7 +12,7 @@
 
 nfo: a tracker:Namespace, tracker:Ontology ;
 	tracker:prefix "nfo" ;
-	nao:lastModified "2010-03-16T14:49:00Z" .
+	nao:lastModified "2010-04-22T13:12:00Z" .
 
 nfo:Document a rdfs:Class ;
 	rdfs:label "Document" ;
@@ -693,7 +693,8 @@ nfo:fileLastModified a rdf:Property ;
 	rdfs:subPropertyOf dc:date ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nfo:FileDataObject ;
-	rdfs:range xsd:dateTime .
+	rdfs:range xsd:dateTime ;
+	tracker:indexed true .
 
 nfo:containsBookmark a rdf:Property ;
 	rdfs:label "contains bookmark" ;
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
index e07bef3..f4be2c5 100644
--- a/data/ontologies/Indices.list
+++ b/data/ontologies/Indices.list
@@ -21,6 +21,10 @@
   - For use cases where fts:match needs to be done against the postal address
   in addition to the class itself
 
+33-nfo:
+* nfo:fileLastModified:
+  - The miner-fs uses this property during crawling a lot
+
 34-nmo:
 * nmo:sender:
   - ?



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]