Class FieldQParserPlugin

  • All Implemented Interfaces:
    SolrInfoBean, NamedListInitializedPlugin

    public class FieldQParserPlugin
    extends QParserPlugin
    Create a field query from the input value, applying text analysis and constructing a phrase query if appropriate.
    Other parameters: f, the field
    Example: {!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"