public class MaxScoreQParser extends LuceneQParser
MaxScoreQParserPlugin
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.
|
getDefaultHighlightFields
addDebugInfo, getHighlightQuery, getLocalParams, getParam, getParams, getParser, getQuery, getReq, getSort, getString, setLocalParams, setParams, setReq, setString, subQuery
public MaxScoreQParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
public Query parse() throws SyntaxError
parse
in class LuceneQParser
SyntaxError
- if parsing failsQParser.getQuery()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.