Details
-
Bug
-
Status: Patch Available
-
Critical
-
Resolution: Unresolved
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- relates to
-
SOLR-16489 CaffeineCache puts thread into infinite loop
- Patch Available
- links to