org.apache.solr.search

Class PrefixQParserPlugin

  • All Implemented Interfaces:
    SolrInfoMBean, NamedListInitializedPlugin


    public class PrefixQParserPlugin
    extends QParserPlugin
    Create a prefix query from the input value. Currently no analysis or value transformation is done to create this prefix query (subject to change).
    Other parameters: f, the field
    Example: {!prefix f=myfield}foo is generally equivalent to the Lucene query parser expression myfield:foo*