Hi Shahak,
BooleanQuery.setMinimumNumberShouldMatch might help you here.
Alan Woodward
www.flax.co.uk
On 18 Nov 2013, at 18:35, Shahak Nagiel wrote:
> Initially, I queried our (v4.4) index with a single MultiFieldQueryParser and
> Operator.AND to ensure that all search terms appeared in the r
Initially, I queried our (v4.4) index with a single MultiFieldQueryParser andÂ
Operator.AND to ensure that all search terms appeared in the results.
Since then, however, we've needed to query more flexibly, using a BooleanQuery
to merge several subqueries (in order to apply different analyzers to