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



commit d89a35fea6b46cecfd63be61171f40341b316399
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 10aa46b..016941e 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" ;
@@ -707,7 +707,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 ccabf5d..d4ca401 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:from:
   - For use cases where fts:match needs to be done against the assosiated



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