public class FiltersQParser extends QParser
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams
Modifier and Type | Method and Description |
---|---|
protected int |
addFilters(BooleanQuery.Builder builder,
Map<Query,BooleanClause.Occur> clauses) |
protected int |
addQuery(BooleanQuery.Builder builder,
Map<Query,BooleanClause.Occur> clauses) |
protected Map<Query,BooleanClause.Occur> |
clauses() |
protected void |
exclude(Map<Query,BooleanClause.Occur> clauses) |
protected String |
getFiltersParamName() |
protected Query |
noClausesQuery() |
Query |
parse()
Create and return the
Query object represented by qstr . |
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 String getFiltersParamName()
public final 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 Query wrapSubordinateClause(Query subordinate) throws SyntaxError
SyntaxError
protected Query noClausesQuery() throws SyntaxError
SyntaxError
protected int addQuery(BooleanQuery.Builder builder, Map<Query,BooleanClause.Occur> clauses)
protected int addFilters(BooleanQuery.Builder builder, Map<Query,BooleanClause.Occur> clauses) throws SyntaxError
SyntaxError
protected void exclude(Map<Query,BooleanClause.Occur> clauses)
protected Map<Query,BooleanClause.Occur> clauses() throws SyntaxError
SyntaxError
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.