You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Kevin Risden (Jira)" <ji...@apache.org> on 2022/10/28 18:36:00 UTC

[jira] [Updated] (SOLR-16509) All query classes should be immutable

     [ 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: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org