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, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
public static final String NAME
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPlugin
QParser
createParser
in class QParserPlugin
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.