- All Implemented Interfaces:
- SolrInfoMBean, NamedListInitializedPlugin
public class PayloadScoreQParserPlugin
extends QParserPlugin
Creates a PayloadScoreQuery wrapping a SpanQuery created from the input value, applying text analysis and
constructing SpanTermQuery or SpanNearQuery based on number of terms.
Other parameters:
f
, the field (required)
func
, payload function (min, max, or average; required)
includeSpanScore
, multiple payload function result by similarity score or not (default: false)
Example: {!payload_score f=weighted_terms_dpf}Foo Bar
creates a SpanNearQuery with "Foo" followed by "Bar"