You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Julie Tibshirani (Jira)" <ji...@apache.org> on 2021/07/15 23:18:00 UTC
[jira] [Created] (LUCENE-10026) CombinedFieldQuery has incorrect
equals/ hashCode
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: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org