Re: Finding the most matching (cf. similar) document to another one

2012-09-07 Thread Jochen Hebbrecht
Thanks! Works like a charm :-)! 2012/9/7 Trejkaz > On Fri, Sep 7, 2012 at 6:12 PM, Jochen Hebbrecht > 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 > > mat

Re: Finding the most matching (cf. similar) document to another one

2012-09-07 Thread Trejkaz
On Fri, Sep 7, 2012 at 6:12 PM, Jochen Hebbrecht 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#setMinimumNumberShouldMatc

Re: Finding the most matching (cf. similar) document to another one

2012-09-07 Thread Jochen Hebbrecht
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 :-). Thanks! Jochen 2012/9/7 qibaoyuan > > MAYBE you could alter MLT to make him working on AND > operator.But,