Class LuceneQParserPlugin

  • All Implemented Interfaces:
    SolrInfoBean, NamedListInitializedPlugin
    Direct Known Subclasses:

    public class LuceneQParserPlugin
    extends QParserPlugin
    Parse Solr's variant on the Lucene QueryParser syntax.
    Other parameters:
    • q.op - the default operator "OR" or "AND"
    • df - the default field name
    • sow - split on whitespace prior to analysis, boolean, default=false

    Example: {!lucene q.op=AND df=text sort='price asc'}myfield:foo +bar -baz