Query Syntax and Parsers
A query parser converts a user’s search terms into a Lucene query to find appropriately matching documents.
Solr supports several query parsers, offering search application designers great flexibility in controlling how queries are parsed.
This section explains how to specify a query parser and describes the syntax and features supported by several parsers available in Solr.
There are some query parameters common to all Solr parsers; these are discussed in the section Common Query Parameters.
Query parsers are also called QParserPlugins
.
They are all subclasses of QParserPlugin.
If you have custom parsing needs, you may want to extend that class to create your own query parser.