the method equals in ConstantScoreRangeQuery does not compare collator property
fully, this bug is similar to LUCENE-1587
-------------------------------------------------------------------------------------------------------------------------
Key: LUCENE-2131
URL: https://issues.apache.org/jira/browse/LUCENE-2131
Project: Lucene - Java
Issue Type: Bug
Components: Search
Affects Versions: 2.4
Reporter: wang
Priority: Minor
if (this.fieldName != other.fieldName // interned comparison
|| this.includeLower != other.includeLower
|| this.includeUpper != other.includeUpper
|| (this.collator != null && ! this.collator.equals(other.collator))
) { return false; }
If this.collator == null and other.collator is not null. the equals method
should return false;
but in lucene 2.4. the method return true.
ConstantScoreRangeQuery equals method does not compare collator property fully
, this bug is similar to [LUCENE-1587]
http://issues.apache.org/jira/browse/LUCENE-1587
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]