Package org.apache.solr.search.join
Class CrossCollectionJoinQParser
- java.lang.Object
-
- org.apache.solr.search.QParser
-
- org.apache.solr.search.join.CrossCollectionJoinQParser
-
public class CrossCollectionJoinQParser extends QParser
-
-
Field Summary
Fields Modifier and Type Field Description static String
FROM
static String
FROM_INDEX
static String
ROUTED_BY_JOIN_KEY
static String
SOLR_URL
static String
TO
static String
TTL
static int
TTL_DEFAULT
static String
ZK_HOST
-
Fields inherited from class org.apache.solr.search.QParser
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams
-
-
Constructor Summary
Constructors Constructor Description CrossCollectionJoinQParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req, String routerField, Set<String> allowSolrUrls)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.search.Query
parse()
Create and return theQuery
object represented byqstr
.-
Methods inherited from class org.apache.solr.search.QParser
addDebugInfo, getDefaultHighlightFields, getFlags, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getParser, getParser, getQuery, getReq, getSortSpec, getString, isFilter, setFlags, setIsFilter, setLocalParams, setParams, setReq, setString, subQuery
-
-
-
-
Field Detail
-
ZK_HOST
public static final String ZK_HOST
- See Also:
- Constant Field Values
-
SOLR_URL
public static final String SOLR_URL
- See Also:
- Constant Field Values
-
FROM_INDEX
public static final String FROM_INDEX
- See Also:
- Constant Field Values
-
FROM
public static final String FROM
- See Also:
- Constant Field Values
-
TO
public static final String TO
- See Also:
- Constant Field Values
-
ROUTED_BY_JOIN_KEY
public static final String ROUTED_BY_JOIN_KEY
- See Also:
- Constant Field Values
-
TTL
public static final String TTL
- See Also:
- Constant Field Values
-
TTL_DEFAULT
public static final int TTL_DEFAULT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CrossCollectionJoinQParser
public CrossCollectionJoinQParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req, String routerField, Set<String> allowSolrUrls)
-
-
Method Detail
-
parse
public org.apache.lucene.search.Query parse() throws SyntaxError
Description copied from class:QParser
Create and return theQuery
object represented byqstr
. Null MAY be returned to signify there was no input (e.g. no query string) to parse.- Specified by:
parse
in classQParser
- Throws:
SyntaxError
- See Also:
QParser.getQuery()
-
-