Class TermsQParserPlugin

  • All Implemented Interfaces:
    AutoCloseable, SolrInfoBean, SolrMetricProducer, NamedListInitializedPlugin

    public class TermsQParserPlugin
    extends QParserPlugin
    Finds documents whose specified field has any of the specified values. It's like TermQParserPlugin but multi-valued, and supports a variety of internal algorithms.
    Parameters:
    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.