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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to