Hi,

when I request a query to solr with
/solr/select?q=query&debugQuery=true&qf=title
I get no result.

The debug information tells me this.

<str name="querystring">query</str>
<str name="parsedquery">text:query</str>

When I request a query to solr with /solr/select?q=title:query&debugQuery=true
I get the desired result.

<str name="querystring">title:query</str>
<str name="parsedquery">title:query</str>

The debug information tells me this.

Why does the quey parser attach text: to the user query so that the qf
parameter is ignored?

Solr Specification Version: 3.4.0.2011.09.09.09.06.17

QueryHandler:
org.apache.solr.handler.component.SearchHandler
version:         $Revision: 1052938 $

QueryHandler Config:
  <requestHandler name="search" class="solr.SearchHandler" default="true">
     <lst name="defaults">
       <str name="qf">title</str>
     </lst>
  </requestHandler>

Kind Regards

Matthias

Reply via email to