public class JoinQParserPlugin extends QParserPlugin
SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
JoinQParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
static Query |
createJoinQuery(Query subQuery,
String fromField,
String toField)
A helper method for other plugins to create (non-scoring) JoinQueries wrapped around arbitrary queries against the same core.
|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a
QParser |
void |
init(NamedList args) |
getCategory, getDescription, getMetricNames, getNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNamepublic static final String NAME
public void init(NamedList args)
init in interface NamedListInitializedPlugininit in class QParserPluginpublic QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPluginQParsercreateParser in class QParserPluginpublic static Query createJoinQuery(Query subQuery, String fromField, String toField)
subQuery - the query to define the starting set of documents on the "left side" of the joinfromField - "left side" field name to use in the jointoField - "right side" field name to use in the joinCopyright © 2000-2020 Apache Software Foundation. All Rights Reserved.