[tracker/secondary-index-for-master: 2/2] NMO: Add secondary index on nmo:communicationChannel
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/secondary-index-for-master: 2/2] NMO: Add secondary index on nmo:communicationChannel
- Date: Wed, 19 May 2010 15:02:06 +0000 (UTC)
commit 7ab56ebc238e5de706a023773b9b29831f6f201d
Author: Philip Van Hoof <philip codeminded be>
Date: Wed May 19 16:59:26 2010 +0200
NMO: Add secondary index on nmo:communicationChannel
data/ontologies/34-nmo.ontology | 3 ++-
data/ontologies/Indices.list | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/data/ontologies/34-nmo.ontology b/data/ontologies/34-nmo.ontology
index f00139d..4f43271 100644
--- a/data/ontologies/34-nmo.ontology
+++ b/data/ontologies/34-nmo.ontology
@@ -12,7 +12,7 @@
nmo: a tracker:Namespace, tracker:Ontology ;
tracker:prefix "nmo" ;
- nao:lastModified "2010-04-05T22:39:00Z" .
+ nao:lastModified "2010-05-19T11:09:00Z" .
# FIXME Extension requested in Nepomuk
nmo:MimePart a rdfs:Class ;
@@ -261,6 +261,7 @@ nmo:conversation a rdf:Property ;
nmo:communicationChannel a rdf:Property ;
rdfs:comment "Connects this message to a communication channel. Every message must only be in a single channel." ;
tracker:indexed true ;
+ tracker:secondaryIndex nmo:sentDate ;
nrl:maxCardinality 1 ;
rdfs:domain nmo:Message ;
rdfs:range nmo:CommunicationChannel .
diff --git a/data/ontologies/Indices.list b/data/ontologies/Indices.list
index 5b2f37a..c0d09b1 100644
--- a/data/ontologies/Indices.list
+++ b/data/ontologies/Indices.list
@@ -42,6 +42,7 @@
* nmo:sentDate:
- Used for sorting messages when displaying all messages (or rather the last N).
+ - Secondary index for nmo:communicationChannel
* nmo:conversation:
- Used for retrieving all messages of a specific conversation.
@@ -49,6 +50,7 @@
* nmo:communicationChannel:
- Used for displaying all conversations on a specific channel (for example,
all conversations with a specific contact).
+ - Secondary index on nmo:sentDate
* nmo:lastMessageDate:
- Used for sorting the list of all channels by time of last message.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]