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