javanna opened a new pull request, #12260: URL: https://github.com/apache/lucene/pull/12260
The `term` member of `TermAndBoost` used to be a `Term` instance and became a `BytesRef` with #11941, which means its `equals` impl won't take the field name into account. The `SynonymQuery` equals impl needs to be updated accordingly to take the field into account as well, otherwise synonym queries with same term and boost across different fields are equal which is a bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
