SOLR-585: Set the QParser on the ResponseBuilder

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@670029 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Grant Ingersoll 2008-06-20 18:47:17 +00:00
parent 8557aa1fde
commit 5b7185e330
2 changed files with 3 additions and 0 deletions

View File

@ -438,6 +438,8 @@ Bug Fixes
problems in Resin, and could potentially cause problems for customized
usages of SolrServlet.
36. SOLR-585: Now sets the QParser on the ResponseBuilder (gsingers)
Other Changes
1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
build scripts to make two jars: apache-solr-1.3.jar and

View File

@ -81,6 +81,7 @@ public class QueryComponent extends SearchComponent
QParser 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) {