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 |
getCategory, getDescription, getMetricNames, getName, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
public static final String NAME
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPlugin
QParser
createParser
in class QParserPlugin
public 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-2017 Apache Software Foundation. All Rights Reserved.