lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Trejkaz <trej...@trypticon.org>
Subject Re: Finding the most matching (cf. similar) document to another one
Date Fri, 07 Sep 2012 11:02:28 GMT
On Fri, Sep 7, 2012 at 6:12 PM, Jochen Hebbrecht
<jochenhebbrecht@gmail.com> wrote:
> Hi qibaoyuan,
>
> I tried your second solution, using the scoring data. I think in this way,
> I could use MoreLikeThis. All documents with a score > X are a possible
> match :-).

FWIW, there is also BooleanQuery#setMinimumNumberShouldMatch(int)
which can be used for this sort of thing.

TX

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message