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. ...

Get Mastering Apache Solr 7.x now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.