There are a great number of request parameters to configure Solr searches, especially when considering all of the components such as faceting and highlighting. Only the core search parameters that aren't specific to any query parser are listed here. Furthermore, in-depth explanations for some lie further in the chapter.
Note
For the Boolean parameters, a true value can be any one of true
, on
, or yes
. False values can be any of false
, off
, and no
.
The parameters affecting the query are as follows:
q
: This refers to the user query or just query for short. This typically originates directly from user input. The query syntax is determined by thedefType
parameter.defType
: This is a reference to the query parser for the user query inq
. The default islucene
with the syntax to be described shortly. You'll most likely usedismax
oredismax
discussed later in the chapter.