summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-11-13 11:51:44 +0100
committerJürg Billeter <j@bitron.ch>2010-11-17 16:04:43 +0100
commit76d2061024404e8c7ba25a051ae9655007cfb743 (patch)
treea58bd0d9a02388d44ec9409ecf3ac05f89d8bfd7
parentde4a44f8c51cbc6026837f0ab017def565baf6d7 (diff)
downloadtracker-76d2061024404e8c7ba25a051ae9655007cfb743.tar.gz
NCO: Add index on nco:nameFamily
-rw-r--r--data/ontologies/32-nco.ontology1
-rw-r--r--data/ontologies/Indices.list3
2 files changed, 4 insertions, 0 deletions
diff --git a/data/ontologies/32-nco.ontology b/data/ontologies/32-nco.ontology
index e896aa10c..9cf8dac54 100644
--- a/data/ontologies/32-nco.ontology
+++ b/data/ontologies/32-nco.ontology
@@ -268,6 +268,7 @@ nco:nameFamily a rdf:Property ;
nrl:maxCardinality 1 ;
rdfs:domain nco:PersonContact ;
rdfs:range xsd:string ;
+ tracker:indexed true ;
tracker:fulltextIndexed true ;
tracker:fulltextNoLimit true ;
tracker:weight 4 .
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
index f50a19c17..2f02850cc 100644
--- a/data/ontologies/Indices.list
+++ b/data/ontologies/Indices.list
@@ -21,6 +21,9 @@
- For use cases where fts:match needs to be done against the postal address
in addition to the class itself
+* nco:nameFamily:
+ - Used for listing contacts sorted by last name
+
33-nfo:
* nfo:fileLastModified:
- The miner-fs uses this property during crawling a lot