Hi,
I've managed to configure and run jena-fuseki. I used the
config-tdb-text.ttl and created a lucene index over the books.ttl example
(7 properties were indexed). However when I execute the query

    PREFIX text: <http://jena.apache.org/text#>
    PREFIX dc: <http://purl.org/dc/elements/1.1/>
    PREFIX book: <http://example.org/book/>
    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>

    SELECT ?s
    { ?s dc:title ?x .
      ?s text:query  (dc:title 'Harry') ;
    }

no tuples are returned.

I've configured <#entMap> as follows:

<#entMap> a text:EntityMap ;
    text:entityField      "uri" ;
    text:defaultField     "text" ;        ## Should be defined in the
text:map.
    text:map (
         [  text:field "text" ;
             text:predicate dc:title;
             text:analyzer [
               a text:StandardAnalyzer ;
               text:stopWords ("a" "an" "and" "but")
           ]
         ]
         ) .

am I on the right track here?

am I missing or doing something wrong?

thanks in advance

Reply via email to