lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jochen Hebbrecht <jochenhebbre...@gmail.com>
Subject Re: Finding the most matching (cf. similar) document to another one
Date Fri, 07 Sep 2012 11:23:26 GMT
Thanks! Works like a charm :-)!

2012/9/7 Trejkaz <trejkaz@trypticon.org>

> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message