public class JoinQParserPlugin extends QParserPlugin
SolrInfoMBean.Category, SolrInfoMBean.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, getDocs, getName, getSource, getStatistics, getVersion, init
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.