public class SimpleQParserPlugin extends QParserPlugin
SimpleQueryParser for details on the exact syntax allowed
to be used for queries.
fieldA^1.0 fieldB^2.2. A field can also be specified without a boost by simply listing the
field as fieldA fieldB. Any field without a boost will default to use a boost of 1.0.
SolrInfoMBean.Category, SolrInfoMBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
NAME
The name that can be used to specify this plugin should be used to parse the query.
|
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
SimpleQParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
Returns a QParser that will create a query by using Lucene's SimpleQueryParser.
|
getCategory, getDescription, getDocs, getName, getSource, getStatistics, getVersion, initpublic static final String NAME
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
createParser in class QParserPluginCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.