Julie Tibshirani created LUCENE-10026:
-----------------------------------------
Summary: CombinedFieldQuery has incorrect equals/ hashCode
Key: LUCENE-10026
URL: https://issues.apache.org/jira/browse/LUCENE-10026
Project: Lucene - Core
Issue Type: Bug
Reporter: Julie Tibshirani
The current equals and hashCode methods only compare query terms. This
meant that queries on different fields, or with different field weights, are
considered equal.
During boolean query rewrites, duplicate clauses are removed. So because equals/
hashCode is incorrect, rewrites can accidentally drop CombinedFieldQuery
clauses.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]