You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Mark Miller <ma...@gmail.com> on 2009/08/21 00:46:48 UTC
MultiTermRewriteMethodProcessor
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 ||
--
- Mark
http://www.lucidimagination.com
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: MultiTermRewriteMethodProcessor
Posted by Michael Busch <bu...@gmail.com>.
Thanks for finding and confirming... I committed the fix.
Michael
On 8/21/09 1:13 AM, Luis Alves wrote:
> 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)
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: MultiTermRewriteMethodProcessor
Posted by Luis Alves <la...@gmail.com>.
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