[tracker/rss-enclosures] NCO: Add index on nco:nameFamily



commit a063233b5bf73308e5b19706988bf1fa76b540e1
Author: Jürg Billeter <j bitron ch>
Date:   Sat Nov 13 11:51:44 2010 +0100

    NCO: Add index on nco:nameFamily

 data/ontologies/32-nco.ontology |    1 +
 data/ontologies/Indices.list    |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/data/ontologies/32-nco.ontology b/data/ontologies/32-nco.ontology
index e896aa1..9cf8dac 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 f50a19c..2f02850 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



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