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, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMetricRegistry, getMetricsSnapshot, registerMetricName
public static final String NAME
public static final String DEFAULT_OPERATOR
public QParser createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req)
QParserPlugin
QParser
createParser
in class QParserPlugin
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.