Query parsing and syntax
In this section, we will explore some query parsers, their features, and how to configure them with Solr. Solr supports some query parsers. Here is the list of parsers supported by Solr:
- Standard query parser
- DisMax query parser
- Extended DisMax (eDisMax) query parser
Each parser has its own configuration parameters for clubbing with Solr. However, there are some common parameters required by all parsers. First let's take a look at these common parameters.
Common query parameters
The following are the common query parameters supported by standard query parser, DisMax query parser, and extended DisMax query parser:
Parameter | Behavior | Default value |
| Selects the query parser:
|
|
| Sorts the search results in either ascending or descending order. The value can be specified as Example:
|