Re: [Tracker] RDF graphs and full text search
- From: Martyn Russell <martyn lanedo com>
- To: Mildred Ki'Lya <ml mildred593 gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] RDF graphs and full text search
- Date: Mon, 06 Sep 2010 11:19:02 +0100
On 03/09/10 16:08, Mildred Ki'Lya wrote:
With the following query, I don't get any results:
SELECT ?x nie:url(?x)
WHERE {
?x a nmo:Email ;
fts:match "Lucene" .
}
Results: 0
But with this:
SELECT ?x nie:url(?x)
WHERE {
?x a nmo:Email
FILTER regex(nmo:plainTextMessageContent(?x), "Lucene")
nie:plainTextContent *is* indexed, however, nmo:plainTextMessageContent
is *not* indexed. You can see what is and isn't using:
tracker-sparql -q "select ?p where { ?p tracker:fulltextIndexed true }"
Do I understand how is supposed to work fts:match correctly?
Yes, additionally, there is also this link which might be useful for you:
http://live.gnome.org/Tracker/Documentation/Examples/SPARQL/FTS
--
Regards,
Martyn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]