On 24/06/13 08:14, Neubert Joachim wrote:
Build #35 worked fine for me - thanks a lot!

I added the newly introduced text:defaultPredicate, but could not
figure out what it is supposed to do. The inline comment in
config-tdb-text.ttl is not helpful here - it would be great if you
could enhance it.

Good point - actually, having includes it I am not so sure it's needed if the default field is known.

The default predicate relates to:

?s text:query 'search' .
?s text:query ('search' 10) .

where the predicate isn't explicitly given but then it does not matter as the search is on the default Lucene field, regardless of predicate.

So I'll go back and see if it's really needed, which would solve the matter in a very different way! I now suspect it's driven by the internal code structure, not the usage so the code should be fixed.

Also, I'd suggest adding a

[ text:field "text" ; text:predicate dc:title ]

line to text:map there. Firstly, this would exemplify the syntax for
multiple properties, and secondly, it would create index entries for
books.ttl out-of-the-box.

        Thanks for the feedback,
        Andy


Cheers, Joachim

-----Ursprüngliche Nachricht----- Von: Andy Seaborne
[mailto:[email protected]] Gesendet: Sonntag, 23. Juni 2013 21:43 An:
[email protected] Betreff: Re: Empty index with Jena Text and
Fuseki

I've been through jena-text and made various fixes including to the
command line indexer.  Things should be a lot better now when working
with multiple predicates mapped to the same Lucene field.

Development build of Fuseki #35.

Andy


Reply via email to