O'Reilly logo

Mastering Apache Solr 7.x by Dharmesh Vasoya, Chintan Mehta, Sandeep Nair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

DisMax query parser parameters

Apart from common parameters, the following is a list of all parameters supported by the DisMax Query Parser. All the default values for these parameters are configured in solrconfig.xml:

Parameter

Behavior

q

Specifies a query string with no special characters and treats Boolean operators + and - as term modifiers. Wildcard characters like * are not supported by this parameter:

  • q=apache
  • q="Apache Lucene"

a.alt

Defines an alternate query when the main query parameter q is not specified or blank. This parameter is mainly used to match all documents to get faceting counts.

qf

The qf parameter assigns a boost factor to a specific field to increase or decrease its importance in the query. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required