I'm using Hibernate Search in order to perform fulltext searches on my domain objects. It just worked out of the box and the documentation is also great so thanks a lot for this project.
However I wondered if there might be a way to tell lucene that only results with a certain score value (I don't know if score is the right expression - what I mean is the value from 0 to 1 where 1 is an exact match; Luke e.g. uses the term "score" for that).
As I did not use Lucene so far, I was looking for a method in the FullTextQuery class like "setMinScore(0.3)", which then only considers items with a minimum score value of 0.3, everything below should be ommited. Is there an easy way to do that, or how would the approach using Filters would look like?
Thanks in advance
|