[tracker] Added indices to message ontology for query performance



commit 67ad9b33c6fdac209480d13ba8d84553a7394fd0
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Tue Apr 6 01:39:17 2010 +0300

    Added indices to message ontology for query performance

 data/ontologies/34-nmo.ontology |    2 ++
 data/ontologies/Indices.list    |    9 +++++++++
 2 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/34-nmo.ontology b/data/ontologies/34-nmo.ontology
index 87fc14b..8249de6 100644
--- a/data/ontologies/34-nmo.ontology
+++ b/data/ontologies/34-nmo.ontology
@@ -94,6 +94,7 @@ nmo:recipient a rdf:Property ;
 
 nmo:from a rdf:Property ;
 	rdfs:comment "The sender of the message." ;
+	tracker:indexed true ;
 	nrl:maxCardinality 1 ;
 	rdfs:domain nmo:Message ;
 	rdfs:range nco:Contact .
@@ -239,6 +240,7 @@ nmo:sentDate a rdf:Property ;
 
 nmo:to a rdf:Property ;
 	rdfs:domain nmo:Message ;
+	tracker:indexed true ;
 	rdfs:range nco:Contact .
 
 nmo:bcc a rdf:Property ;
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
index e07bef3..bbff39d 100644
--- a/data/ontologies/Indices.list
+++ b/data/ontologies/Indices.list
@@ -22,6 +22,15 @@
   in addition to the class itself
 
 34-nmo:
+* nmo:from:
+  - For use cases where fts:match needs to be done against the assosiated
+  contacts in addition to the class itself
+
+* nmo:to:
+  - For use cases where fts:match needs to be done against the assosiated
+  contacts in addition to the class itself
+
+
 * nmo:sender:
   - ?
 



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