mirror of https://github.com/apache/lucene.git
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:
parent
8557aa1fde
commit
5b7185e330
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue