lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <>
Subject [jira] Updated: (SOLR-1067) QueryParsing.parseFunction uses Singleton Core (SolrCore.getSolrCore())
Date Sat, 08 Aug 2009 16:09:14 GMT


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

View raw message