public class TermsQParserPlugin extends QParserPlugin
TermQParserPlugin but multi-valued, and supports a variety of internal algorithms.
f: The field name (mandatory)
separator: the separator delimiting the values in the query string, defaulting to a comma.
If it's a " " then it splits on any consecutive whitespace.
method: Any of termsFilter (default), booleanQuery, automaton, docValuesTermsFilter.
Note that if no values are specified then the query matches no documents.
SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
SEPARATOR
The separator to use in the underlying suggester
|
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
TermsQParserPlugin() |
| 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 static final String SEPARATOR
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPluginQParsercreateParser in class QParserPluginCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.