public class LuceneQParser extends QParser
LuceneQParserPlugin
FLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams
Constructor and Description |
---|
LuceneQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
String[] |
getDefaultHighlightFields() |
Query |
parse()
Create and return the
Query object represented by qstr . |
addDebugInfo, getFlags, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getParser, getParser, getQuery, getReq, getSortSpec, getString, isFilter, setFlags, setIsFilter, setLocalParams, setParams, setReq, setString, subQuery
public LuceneQParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
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()
public String[] getDefaultHighlightFields()
getDefaultHighlightFields
in class QParser
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.