public class PayloadScoreQParserPlugin extends QParserPlugin
f, the field (required)
func, payload function (min, max, or average; required)
includeSpanScore, multiply payload function result by similarity score or not (default: false)
{!payload_score f=weighted_terms_dpf}Foo Bar creates a SpanNearQuery with "Foo" followed by "Bar"SolrInfoBean.Category, SolrInfoBean.Group| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_OPERATOR |
static String |
NAME |
DEFAULT_QTYPE, standardPlugins| Constructor and Description |
|---|
PayloadScoreQParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
QParser |
createParser(String qstr,
SolrParams localParams,
SolrParams params,
SolrQueryRequest req)
return a
QParser |
getCategory, getDescription, getMetricNames, getName, initclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetricRegistry, getMetricsSnapshot, registerMetricNamepublic static final String NAME
public static final String DEFAULT_OPERATOR
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPluginQParsercreateParser in class QParserPluginCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.