On 10/22/2019 11:17 AM, rhys J wrote:
How would I enter qf parameters in the solrconfig.xml?

In the handler definition you would simply add the parameter like you did when you added df.

  <requestHandler name="/select" class="solr.SearchHandler">
    <lst name="defaults">
      <str name="defType">edismax</str>
      <str name="qf">field1 field2 field3</str>
  </requestHandler>

I included the parameter in the above example that switches the query parser to edismax, which is also required when using qf. The qf parameter does not work with the default lucene query parser.

You should definitely read up on edismax. It works very differently than the default parser. For most uses I would say it's better.

Thanks,
Shawn

Reply via email to