lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Alves <lafa...@gmail.com>
Subject Re: MultiTermRewriteMethodProcessor
Date Fri, 21 Aug 2009 08:13:49 GMT
Mark Miller wrote:
> This is either a bug (its meant to be something else) or a harmless
> mistake - someone check it out?
>
>     // set setMultiTermRewriteMethod for WildcardQueryNode and
> PrefixWildcardQueryNode
>     if (node instanceof WildcardQueryNode || node instanceof 
> ParametricRangeQueryNode
>         || node instanceof ParametricRangeQueryNode) {
>
> repeated ||
>
>   
It is harmless,

The IF condition should be:

if (node instanceof WildcardQueryNode || node instanceof 
ParametricRangeQueryNode)


-- 
-Lafa



---------------------------------------------------------------------
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