lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From darniz <>
Subject defining qf in your own request handler
Date Mon, 24 Aug 2009 17:13:26 GMT

i created a custom request handler and i want it to do a search on features
and make field by default. i added the following decleration  in my
solrconfig.xml file
<requestHandler name="/def-features-make" class="solr.SearchHandler">
    <!-- default values for query parameters -->
     <lst name="defaults">
       <int name="rows">12</int>
       <str name="echoParams">explicit</str>
       <str name="fl">*</str>
       <str name="sort">model desc</str>
       <str name="qf">features,make</str>
as you can see in the qf i defined features and make to be the default
search fields, the issue is that if i give
it gets me all the document which have antenna in the featuers list. 
but when i give
i am expecting to see all documents  whose make is Ford. but it returns no

Please let me know if i am doing something wrong here.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message