Package org.apache.solr.search.join
Class FiltersQParser
- java.lang.Object
-
- org.apache.solr.search.QParser
-
- org.apache.solr.search.join.FiltersQParser
-
- Direct Known Subclasses:
BlockJoinParentQParser
public class FiltersQParser extends QParser
-
-
Field Summary
-
Fields inherited from class org.apache.solr.search.QParser
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FiltersQParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Map<QParser,org.apache.lucene.search.BooleanClause.Occur>
clauses()
protected void
exclude(Collection<QParser> clauses)
protected String
getFiltersParamName()
protected org.apache.lucene.search.Query
noClausesQuery()
org.apache.lucene.search.Query
parse()
Create and return theQuery
object represented byqstr
.protected org.apache.lucene.search.BooleanQuery
parseImpl()
protected org.apache.lucene.search.Query
unwrapQuery(org.apache.lucene.search.Query query, org.apache.lucene.search.BooleanClause.Occur occur)
protected org.apache.lucene.search.Query
wrapSubordinateClause(org.apache.lucene.search.Query subordinate)
-
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
-
-
-
-
Constructor Detail
-
FiltersQParser
protected FiltersQParser(String qstr, org.apache.solr.common.params.SolrParams localParams, org.apache.solr.common.params.SolrParams params, SolrQueryRequest req)
-
-
Method Detail
-
getFiltersParamName
protected String getFiltersParamName()
-
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()
-
parseImpl
protected org.apache.lucene.search.BooleanQuery parseImpl() throws SyntaxError
- Throws:
SyntaxError
-
unwrapQuery
protected org.apache.lucene.search.Query unwrapQuery(org.apache.lucene.search.Query query, org.apache.lucene.search.BooleanClause.Occur occur)
-
wrapSubordinateClause
protected org.apache.lucene.search.Query wrapSubordinateClause(org.apache.lucene.search.Query subordinate) throws SyntaxError
- Throws:
SyntaxError
-
noClausesQuery
protected org.apache.lucene.search.Query noClausesQuery() throws SyntaxError
- Throws:
SyntaxError
-
exclude
protected void exclude(Collection<QParser> clauses)
-
clauses
protected Map<QParser,org.apache.lucene.search.BooleanClause.Occur> clauses() throws SyntaxError
- Throws:
SyntaxError
-
-