Kevin Risden created SOLR-16509:
-----------------------------------
Summary: All query classes should be immutable
Key: SOLR-16509
URL: https://issues.apache.org/jira/browse/SOLR-16509
Project: Solr
Issue Type: Bug
Security Level: Public (Default Security Level. Issues are Public)
Components: query
Reporter: Kevin Risden
As part of investigating SOLR-16489, it was found that there are Query classes
in Solr that extend
https://github.com/apache/lucene/blob/main/lucene/core/src/java/org/apache/lucene/search/Query.java
and are not immutable. One example being
https://github.com/apache/solr/blob/main/solr/core/src/java/org/apache/solr/search/WrappedQuery.java
These classes should have final fields and no setters. They should be
effectively immutable.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]