Re: 'Minimum Should Match' on subquery level

2010-05-31 Thread Myron Chelyada
Thanks a lot for reply.

But I've already figured out that nested queries can help me to implement
what I was looking for.

-Myron

2010/5/28 Chris Hostetter 

>
> : I need to use Lucene's  `minimum number should match` option of
> BooleanQuery
> : on Solr.
>
> unfortunately, the Lucene QueryParser doesn't support any way of
> manipulating the minNumberSHouldMatch property of BooleanQueries specified
> in that syntax.
>
> I'm not sure of anyway to do what you're looking for w/o some custom code
> (either customing the QUeryParser, or writing a QParser that modifies the
> BooleanQueries produced)
>
>
>
>
>
>
>
>
> -Hoss
>
>


Re: 'Minimum Should Match' on subquery level

2010-05-28 Thread Chris Hostetter

: I need to use Lucene's  `minimum number should match` option of BooleanQuery
: on Solr.

unfortunately, the Lucene QueryParser doesn't support any way of 
manipulating the minNumberSHouldMatch property of BooleanQueries specified 
in that syntax.

I'm not sure of anyway to do what you're looking for w/o some custom code 
(either customing the QUeryParser, or writing a QParser that modifies the 
BooleanQueries produced)








-Hoss