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
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.
|
void |
init(NamedList args)
No initialization is necessary so this method is empty.
|
getCategory, getDescription, getDocs, getName, getSource, getStatistics, getVersion
public static final String NAME
public void init(NamedList args)
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
createParser
in class QParserPlugin
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.