[polari/wip/carlosg/tracker: 423/445] data: Add index on polari:time
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/carlosg/tracker: 423/445] data: Add index on polari:time
- Date: Mon, 21 Jun 2021 22:04:10 +0000 (UTC)
commit 4a9fc5bd2ca5db203d923c1dfba4b99bbf7a30d1
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Feb 24 22:32:47 2019 +0100
data: Add index on polari:time
Queries will typically order on it, so it makes sense to make it
an indexed field.
data/resources/polari.ontology | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/data/resources/polari.ontology b/data/resources/polari.ontology
index 810cc517..a5f142fb 100644
--- a/data/resources/polari.ontology
+++ b/data/resources/polari.ontology
@@ -76,7 +76,8 @@ polari:sender a rdf:Property ;
polari:time a rdf:Property ;
nrl:maxCardinality 1 ;
rdfs:domain polari:Message ;
- rdfs:range xsd:dateTime .
+ rdfs:range xsd:dateTime ;
+ tracker:indexed true .
polari:text a rdf:Property ;
nrl:maxCardinality 1 ;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]