[
https://issues.apache.org/jira/browse/SOLR-1067?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yonik Seeley updated SOLR-1067:
-------------------------------
Attachment: SOLR-1067.patch
Here's a patch that incrementally improves the situation.
I think the only place a QParser isn't used now is deleteByQuery.
> QueryParsing.parseFunction uses Singleton Core (SolrCore.getSolrCore())
> -----------------------------------------------------------------------
>
> Key: SOLR-1067
> URL: https://issues.apache.org/jira/browse/SOLR-1067
> Project: Solr
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Hoss Man
> Fix For: 1.4
>
> Attachments: SOLR-1067.patch
>
>
> QueryParsing.parseFunction is a static utility method that depends on the
> SolrCore.getSolrCore singleton -- but it is not yet deprecated and is used in
> some rather important places in the code base (the result is that the last
> core initialized
> it was noted a while back, with some comments about how to tackle the
> problem, but it looks like we never opened an issue to deal with it...
> http://www.nabble.com/QueryParsing-using-SolrCore.getSolrCore()-td19806087.html
> ...we should deal with this in some way prior to the 1.4 release (if nothing
> else, we need to document it as a caveat).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.