public class FiltersQParser extends QParser
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams| Modifier | Constructor and Description |
|---|---|
protected |
FiltersQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<QParser,BooleanClause.Occur> |
clauses() |
protected void |
exclude(Collection<QParser> clauses) |
protected String |
getFiltersParamName() |
protected Query |
noClausesQuery() |
Query |
parse()
Create and return the
Query object represented by qstr. |
protected BooleanQuery |
parseImpl() |
protected Query |
unwrapQuery(Query query,
BooleanClause.Occur occur) |
protected Query |
wrapSubordinateClause(Query subordinate) |
addDebugInfo, getDefaultHighlightFields, getFlags, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getParser, getParser, getQuery, getReq, getSortSpec, getString, isFilter, setFlags, setIsFilter, setLocalParams, setParams, setReq, setString, subQueryprotected FiltersQParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
protected String getFiltersParamName()
public Query parse() throws SyntaxError
QParserQuery object represented by qstr. Null MAY be returned to signify
there was no input (e.g. no query string) to parse.parse in class QParserSyntaxErrorQParser.getQuery()protected BooleanQuery parseImpl() throws SyntaxError
SyntaxErrorprotected Query unwrapQuery(Query query, BooleanClause.Occur occur)
protected Query wrapSubordinateClause(Query subordinate) throws SyntaxError
SyntaxErrorprotected Query noClausesQuery() throws SyntaxError
SyntaxErrorprotected void exclude(Collection<QParser> clauses)
protected Map<QParser,BooleanClause.Occur> clauses() throws SyntaxError
SyntaxErrorCopyright © 2000-2021 Apache Software Foundation. All Rights Reserved.