[ 
https://issues.apache.org/jira/browse/SOLR-16509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Risden updated SOLR-16509:
--------------------------------
    Status: Patch Available  (was: Open)

> 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
>            Assignee: Kevin Risden
>            Priority: Critical
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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]

Reply via email to