You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2013/08/12 19:38:48 UTC
[jira] [Created] (SOLR-5138) requestHandler (qt) is not passing q
when defined in solrconfig.xml
Bill Bell created SOLR-5138:
-------------------------------
Summary: requestHandler (qt) is not passing q when defined in solrconfig.xml
Key: SOLR-5138
URL: https://issues.apache.org/jira/browse/SOLR-5138
Project: Solr
Issue Type: Bug
Affects Versions: 4.5
Environment: OS: Linux 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
SOLR: 4.5-SNAPSHOT 1511470M - 2013-08-07 18:30:52
Reporter: Bill Bell
Priority: Critical
We have this qt defined:
<requestHandler name="providerdetails" class="solr.SearchHandler">
<lst name="defaults">
<str name="q">*:*</str>
<str name="defType">lucene</str>
<str name="echoParams">none</str>
<str name="wt">json</str>
</requestHandler>
When called like this http://localhost:8080/solr/provider/select?echoParams=ALL&fq=pwid:xlkm7&wt=xml&qt=providerdetails the q does not seem to be recognized and no results are returned unless the q is explicitly set. In SOLR 3.6 the q is seen by the request handler.
SOLR 4.5 (4.5-SNAPSHOT 1511470M - 2013-08-07 18:30:52) returns this - note that q=*:* is missing:
<response><lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int><lst name="params"><str name="echoParams">ALL</str><str name="echoParams">ALL</str><str name="qt">providerdetails</str><str name="wt">xml</str><str name="fq">pwid:xlkm7</str></lst></lst><result name="response" numFound="0" start="0"/></response>
3.6.2 returns the following - note q=*:* is shown:
<lst name="responseHeader"><int name="status">0</int><int name="QTime">1</int><lst name="params"><str name="echoParams">ALL</str><str name="q">*:*</str><str name="wt">xml</str><str name="echoParams">ALL</str><str name="wt">xml</str><str name="qt">providerdetails</str><str name="fq">pwid:xlkm7</str></lst></lst>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org