Interface IScriptScoreQuery
A query allowing you to modify the score of documents that are retrieved by a query. This can be useful if, for example, a score function is computationally expensive and it is sufficient to compute the score on a filtered set of documents.
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IScriptScoreQuery : IQuery
Properties
| Edit this page View SourceMinScore
The score above which documents will be returned
Declaration
[DataMember(Name = "min_score")]
double? MinScore { get; set; }
Property Value
Type | Description |
---|---|
double? |
Query
The query to execute
Declaration
[DataMember(Name = "query")]
QueryContainer Query { get; set; }
Property Value
Type | Description |
---|---|
QueryContainer |
Script
The script to execute
Declaration
[DataMember(Name = "script")]
IScript Script { get; set; }
Property Value
Type | Description |
---|---|
IScript |