Hi Mikael!

Sorry, I probably misunderstood - I somehow read "similar" as meaning "fuzzy" but they are of course not the same thing. So if you mean "give me documents similar to document X", that's called MoreLikeThis in Lucene, and it's currently not supported by jena-text. What's your use case? How would you like to use it if it existed?

-Osma

Osma Suominen kirjoitti 22.11.2017 klo 22:37:
Hi Mikael!

Fuzzy search is a basic Lucene feature, just like prefix searches. You should be able to use it directly via jena-text using a query like
?s text:query "word~"
or
?s text:query "word~1"

There is AFAICT nothing to implement on the jena-text side as this already works right now.

-Osma

Mikael Pesonen kirjoitti 22.11.2017 klo 15:44:

Are there any plans on implementing similar text search for Jena?

Until similarity is implemented, is it possible to query similar texts using Lucene directly, bypassing Jena, but with the same data set?

Br,





--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
[email protected]
http://www.nationallibrary.fi

Reply via email to