lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Naber <lucenelist2...@danielnaber.de>
Subject Re: Inconsistency between MultiFieldQueryParser and QueryParser
Date Mon, 16 Jan 2006 21:44:29 GMT
On Montag 16 Januar 2006 15:59, John Haxby wrote:

> QueryParser's static parse() method is deprecated, but
> MultiFieldQueryParser has three static parse() methods, moreover there's
> constructor that takes a BooleanClause.Occur[] and no non-static method
> that takes a String[] queries.

These are just simple convenience methods that create a BooleanQuery. 
Making them non-static would create a different set of problems, e.g that 
you need to pass them an array with the same number of elements as the 
constructor was given. So I don't know if this is something that should be 
changed.

Regards
 Daniel

-- 
http://www.danielnaber.de

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


Mime
View raw message