: public static FunctionQuery parseFunction(String func, IndexSchema schema)
: throws ParseException {
: SolrCore core = SolrCore.getSolrCore();
: return (FunctionQuery)(QParser.getParser(func,func,new
: LocalSolrQueryRequest(core,new HashMap())).parse());
: // return new
I'm trying to make a non-deprecated branch and ran into something a
little funny..
QueryParsing uses access to SolrCore.getSolrCore() -- this will break
in a multi-core environment.
public static FunctionQuery parseFunction(String func, IndexSchema
schema) throws ParseException {