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

Shrey Narayan updated SOLR-18350:
---------------------------------
    Attachment: SOLR-18350_Technical_Brief_NextBricks_Secure.pdf

> Many callers of org.apache.solr.core.SolrCore#getLatestSchema should use 
> alternatives
> -------------------------------------------------------------------------------------
>
>                 Key: SOLR-18350
>                 URL: https://issues.apache.org/jira/browse/SOLR-18350
>             Project: Solr
>          Issue Type: Bug
>            Reporter: David Smiley
>            Priority: Minor
>              Labels: newdev, pull-request-available
>         Attachments: SOLR-18350_Technical_Brief_NextBricks_Secure.pdf
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> SolrCore.getLatestSchema can be updated at any time if a schema mutation 
> happens.  On the other hand, the SolrQueryRequest has a cached/stable value.  
> A SolrIndexSearcher also has a cached/stable value.  Code that needs the 
> schema that _already_ has access to either of those in scope should use them 
> to get the schema, *not* via the core.  The javadocs of 
> {{SolrCore.getLatestSchema}} should advise about this.



--
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