org.apache.solr.search
public class NestedQParserPlugin extends QParserPlugin
{!query defType=func v=$q1}
price
then the query would be a function query on the price field.
{!lucene}inStock:true
then a term query is
created from the lucene syntax string that matches documents with inStock=true.SolrInfoMBean.Category
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
DEFAULT_QTYPE, standardPlugins
Constructor and Description |
---|
NestedQParserPlugin() |
Modifier and Type | Method and Description |
---|---|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a
QParser |
void |
init(NamedList args) |
getCategory, getDescription, getDocs, getName, getSource, getStatistics, getVersion
public static String NAME
public void init(NamedList args)
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPlugin
QParser
createParser
in class QParserPlugin
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.