lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Busch <busch...@gmail.com>
Subject Re: Bug in FieldInfo (omitTF)?
Date Tue, 18 Nov 2008 09:29:36 GMT
see http://issues.apache.org/jira/browse/LUCENE-1456

Shai Erera wrote:
> Hi
>
> I looked at FieldInfo and found this line (95):
>
>     if (this.omitTf != omitTf) {
>       this.omitTf = true;                // if one require omitTf at 
> least once, it remains off for life
>     }
>
> Shouldn't it be:
>     if (this.omitTf != other.omitTf) {
>       this.omitTf = true;                // if one require omitTf at 
> least once, it remains off for life
>     }
>
> The first version compares the field to itself ...
>
> Shai


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