public class LuceneQParser extends QParser
LuceneQParserPlugin
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, getHighlightQuery, getLocalParams, getPaging, getParam, getParams, getParser, getQuery, getReq, getSort, getString, 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-2013 Apache Software Foundation. All Rights Reserved.