public class MaxScoreQParser extends LuceneQParser
MaxScoreQParserPluginFLAG_FILTER, flags, localParams, localParamsEnd, params, qstr, query, recurseCount, req, stringIncludingLocalParams, valFollowedParams| Constructor and Description |
|---|
MaxScoreQParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req) |
| Modifier and Type | Method and Description |
|---|---|
Query |
parse()
Parses the query exactly like the Lucene parser does, but
delegates all SHOULD clauses to DisjunctionMaxQuery with
meaning only the clause with the max score will contribute
to the overall score, unless the tie parameter is specified.
|
getDefaultHighlightFieldsaddDebugInfo, getFlags, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getParser, getParser, getQuery, getReq, getSortSpec, getString, isFilter, setFlags, setIsFilter, setLocalParams, setParams, setReq, setString, subQuerypublic MaxScoreQParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
public Query parse() throws SyntaxError
parse in class LuceneQParserSyntaxError - if parsing failsQParser.getQuery()Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.