org.apache.solr.search
public class FieldQParserPlugin extends QParserPlugin
f
, the field
{!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"
SolrInfoMBean.Category
Modifier and Type | Field and Description |
---|---|
static String |
NAME |
DEFAULT_QTYPE, standardPlugins
Constructor and Description |
---|
FieldQParserPlugin() |
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.