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, subQuery
protected FiltersQParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
protected String getFiltersParamName()
public Query parse() throws SyntaxError
QParser
Query
object represented by qstr
. Null MAY be returned to signify
there was no input (e.g. no query string) to parse.parse
in class QParser
SyntaxError
QParser.getQuery()
protected BooleanQuery parseImpl() throws SyntaxError
SyntaxError
protected Query unwrapQuery(Query query, BooleanClause.Occur occur)
protected Query wrapSubordinateClause(Query subordinate) throws SyntaxError
SyntaxError
protected Query noClausesQuery() throws SyntaxError
SyntaxError
protected void exclude(Collection<QParser> clauses)
protected Map<QParser,BooleanClause.Occur> clauses() throws SyntaxError
SyntaxError
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.