public class FieldQParserPlugin extends QParserPlugin
f, the field
{!field f=myfield}Foo Bar creates a phrase query with "foo" followed by "bar"
if the analyzer for myfield is a text field with an analyzer that splits on whitespace and lowercases terms.
This is generally equivalent to the Lucene query parser expression myfield:"Foo Bar"SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
FieldQParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a
QParser |
getCategory, getDescription, getMetricNames, getName, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNamepublic static final String NAME
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPluginQParsercreateParser in class QParserPluginCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.