RerankScore(String, Double, Int32) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the RerankScore class.
public RerankScore(string document, double score, int index);
new Microsoft.Azure.Cosmos.RerankScore : string * double * int -> Microsoft.Azure.Cosmos.RerankScore
Public Sub New (document As String, score As Double, index As Integer)
Parameters
- document
- String
The document content or identifier.
- score
- Double
The reranked score for the document.
- index
- Int32
The original index of the document.