Apache Solr open-source search software
SOLR-585: Set the QParser on the ResponseBuilder
Grant Ingersoll5b7185e330b4
diff --git a/CHANGES.txt b/CHANGES.txtindex 7e9ab369433..155fd8c9ba1 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -438,6 +438,8 @@ Bug Fixesproblems in Resin, and could potentially cause problems for customizedusages of SolrServlet.+36. SOLR-585: Now sets the QParser on the ResponseBuilder (gsingers)+Other Changes1. SOLR-135: Moved common classes to org.apache.solr.common and altered thebuild scripts to make two jars: apache-solr-1.3.jar anddiff --git a/src/java/org/apache/solr/handler/component/QueryComponent.java b/src/java/org/apache/solr/handler/component/QueryComponent.javaindex 74aaac2d656..dbed4bc96d6 100644--- a/src/java/org/apache/solr/handler/component/QueryComponent.java+++ b/src/java/org/apache/solr/handler/component/QueryComponent.java@@ -81,6 +81,7 @@ public class QueryComponent extends SearchComponentQParser parser = QParser.getParser(rb.getQueryString(), defType, req);rb.setQuery( parser.getQuery() );rb.setSortSpec( parser.getSort(true) );+ rb.setQparser(parser);String[] fqs = req.getParams().getParams(CommonParams.FQ);if (fqs!=null && fqs.length!=0) {