lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: Force a query to match at least two clauses
Date Fri, 06 Oct 2006 18:16:19 GMT

On Oct 6, 2006, at 1:50 PM, Ryan Heinen wrote:

> Yonik Seeley wrote:
>> See BooleanQuery.setMinimumNumberShouldMatch()
>> There isn't currently any QueryParser support, so you have to create
>> the query pragmatically.
>
> Thanks Yonik for your quick response; that is exactly what I was  
> looking for. Next time I'll check the docs a little more closely. I  
> am generating the queries programatically already so it should be  
> fairly straightforward to add that call.

Yeah, but are you creating the queries pragmatically also?!   
Pragmatic always comes before programatic.  ;)

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message