[tracker] Added some indices for performance improvement in complex fts:match use cases



commit 9ccb54038a9da375a980f3ac96f17c930d725b36
Author: Mikael Ottela <mikael ottela ixonos com>
Date:   Thu Apr 1 13:58:14 2010 +0300

    Added some indices for performance improvement in complex fts:match use cases
    
    Added Indices.list file to keep tracker of the use cases behind the indices.

 data/ontologies/32-nco.ontology |    9 +++++--
 data/ontologies/Indices.list    |   43 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 3 deletions(-)
---
diff --git a/data/ontologies/32-nco.ontology b/data/ontologies/32-nco.ontology
index f68a2a8..4da0838 100644
--- a/data/ontologies/32-nco.ontology
+++ b/data/ontologies/32-nco.ontology
@@ -318,7 +318,8 @@ nco:hasIMAccount a rdf:Property ;
 	rdfs:comment "Indicates that an Instant Messaging account owned by an entity represented by this contact." ;
 	nao:deprecated true ;
 	rdfs:domain nco:PersonContact ;
-	rdfs:range nco:IMAccount .
+	rdfs:range nco:IMAccount ;
+	tracker:indexed true .
 
 nco:fromIMAccount a rdf:Property ;
 	rdfs:label "hasIMAccount" ;
@@ -509,7 +510,8 @@ nco:hasEmailAddress a rdf:Property ;
 	rdfs:comment "An address for electronic mail communication with the object specified by this contact. An equivalent of the 'EMAIL' property as defined in RFC 2426 Sec. 3.3.1." ;
 	rdfs:subPropertyOf nco:hasContactMedium ;
 	rdfs:domain nco:Role ;
-	rdfs:range nco:EmailAddress .
+	rdfs:range nco:EmailAddress ;
+	tracker:indexed true .
 
 nco:postalcode a rdf:Property ;
 	rdfs:label "postalcode" ;
@@ -648,7 +650,8 @@ nco:hasPostalAddress a rdf:Property ;
 	rdfs:comment "The default Address for a Contact. An equivalent of the 'ADR' property as defined in RFC 2426 Sec. 3.2.1." ;
 	rdfs:subPropertyOf nco:hasContactMedium ;
 	rdfs:domain nco:Role ;
-	rdfs:range nco:PostalAddress .
+	rdfs:range nco:PostalAddress ;
+	tracker:indexed true .
 
 nco:imAccountType a rdf:Property ;
 	rdfs:label "imAccountType" ;
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
new file mode 100644
index 0000000..ffd0881
--- /dev/null
+++ b/data/ontologies/Indices.list
@@ -0,0 +1,43 @@
+30-nie:
+* nie:url:
+  - ?
+
+31-nao:
+* nao:hasTag:
+  - For use cases where fts:match needs to be done against tags in addition to
+  the class itself
+
+32-nco:
+* nco:hasIMAccount:
+  - For use cases where fts:match needs to be done against the account in
+  addition to the class itself
+
+* nco:hasEmailAddress:
+  - For use cases where fts:match needs to be done against the email account
+  in addition to the class itself
+
+* nco:hasPostalAddress:
+  - For use cases where fts:match needs to be done against the postal address
+  in addition to the class itself
+
+34-nmo:
+* nmo:sender:
+  - ?
+
+* nmo:sentDate:
+  - ?
+
+* nmo:conversation:
+  - ?
+
+* nmo:communicationChannel:
+  - ?
+
+* nmo:lastMessageDate:
+  - ?
+
+* nmo:hasParticipant:
+  - ?
+
+* maemo:localPhoneNumber:
+  - For matching against the local part of the phone number



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