[tracker] Add domainIndex on nie:contentCreated to nfo:Visual



commit eb3edb35a71138c6158ca1e803ae3a564d8d2faa
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Wed Dec 1 19:51:12 2010 +0200

    Add domainIndex on nie:contentCreated to nfo:Visual

 data/ontologies/33-nfo.ontology |    1 +
 data/ontologies/Indices.list    |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/33-nfo.ontology b/data/ontologies/33-nfo.ontology
index 1fc50d5..23f590f 100644
--- a/data/ontologies/33-nfo.ontology
+++ b/data/ontologies/33-nfo.ontology
@@ -38,6 +38,7 @@ nfo:Media a rdfs:Class ;
 nfo:Visual a rdfs:Class ;
 	rdfs:label "Visual" ;
 	rdfs:comment "File containing visual content." ;
+	tracker:domainIndex nie:contentCreated ;
 	rdfs:subClassOf nfo:Media .
 
 nfo:Image a rdfs:Class ;
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
index 2522569..5018d9e 100644
--- a/data/ontologies/Indices.list
+++ b/data/ontologies/Indices.list
@@ -32,6 +32,9 @@
 * nfo:fileLastModified:
   - The miner-fs uses this property during crawling a lot
 
+* nie:contentCreated domainIndex for nfo:Visual
+  - Used to improve performance of ORDER BY on nie:contentCreated
+
 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]