The DisMax query parser

The following table shows parameters for the DisMax query parser. These are covered in Chapter 5, Searching, and Chapter 6, Search Relevancy:

Parameter

Description

Single/multi

q.alt

This is an alternate query to run when q is absent. The recommended one is: *:* (all docs)

single

qf

This stands for query fields, including optional boosts, for example, id^5.0 name^2.0 body.

multi

mm=100%

This is the min-should-match specification. It is used to change to all-optional, use 0%

single

qs=0

This is the query slop for phrases explicitly in the query string.

single

pf

This stands for phrase fields for automatic phrase boosting. This is same as qf syntax.

single

ps=0

This is the phrase slop for pf.

single

tie=0

This is the score tie-breaker. The recommended one is 0.1.

single

bq

This is a boost query. The boost is added.

multi

bf

This is a boost function. The boost is added.

multi

boost

This is a boost function. The boost is multiplied. Works for edismax only.

multi

The other edismax additions are lowercaseOperators=on, pf2, pf3, ps2, ps3, stopwords=on, and uf.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.160.156