Ok then I'll open an issue and provide a patch.
Thanks !
On Jan 15, 2008 8:18 PM, Paul Elschot <[EMAIL PROTECTED]> wrote:
> Correcting myself:
>
> On Tuesday 15 January 2008 17:55:42 you wrote:
> > Shai,
> >
> > I think it would be enough to add to the javadocs of BooleanQuery that
> > the minim
Correcting myself:
On Tuesday 15 January 2008 17:55:42 you wrote:
> Shai,
>
> I think it would be enough to add to the javadocs of BooleanQuery that
> the minimum number of SHOULD clauses is ignored when no such clauses
> are added.
I should have looked at the code of BooleanScorer2 before answe
Shai,
I think it would be enough to add to the javadocs of BooleanQuery that
the minimum number of SHOULD clauses is ignored when no such clauses
are added.
Regards,
Paul Elschot
On Tuesday 15 January 2008 13:04:51 Shai Erera wrote:
> Hi
>
> I'm not sure if this is a bug or working as designed
Hi
I'm not sure if this is a bug or working as designed. In BooleanQuery, one
can set the minimum number of SHOULD match terms. So if I send the query
"abc +def" and set it to 1, only if "abc" has matches in the index I should
get back results.
However, if I send the query "+def" and set the minim