mirror of https://github.com/apache/lucene.git
SOLR-2493: SolrQueryParser was fixed to not parse the SolrConfig DOM tree on each instantiation which is a huge slowdown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1099340 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9fdf96c92b
commit
8b32176c0b
|
@ -312,6 +312,9 @@ Bug Fixes
|
|||
did not clear all attributes so they displayed incorrect attribute values for tokens
|
||||
in later filter stages. (uschindler, rmuir, yonik)
|
||||
|
||||
* SOLR-2493: SolrQueryParser was fixed to not parse the SolrConfig DOM tree on each
|
||||
instantiation which is a huge slowdown. (Stephane Bailliez via uschindler)
|
||||
|
||||
Other Changes
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ public class SolrQueryParser extends QueryParser {
|
|||
}
|
||||
|
||||
public SolrQueryParser(QParser parser, String defaultField, Analyzer analyzer) {
|
||||
super(parser.getReq().getCore().getSolrConfig().getLuceneVersion("luceneMatchVersion", Version.LUCENE_30), defaultField, analyzer);
|
||||
super(parser.getReq().getCore().getSolrConfig().luceneMatchVersion, defaultField, analyzer);
|
||||
this.schema = parser.getReq().getSchema();
|
||||
this.parser = parser;
|
||||
this.defaultField = defaultField;
|
||||
|
|
Loading…
Reference in New Issue