Dela via


SearchModelFactory.TextResult(Nullable<Double>) Method

Definition

Initializes a new instance of TextResult.

public static Azure.Search.Documents.Models.TextResult TextResult (double? searchScore = default);
static member TextResult : Nullable<double> -> Azure.Search.Documents.Models.TextResult
Public Shared Function TextResult (Optional searchScore As Nullable(Of Double) = Nothing) As TextResult

Parameters

searchScore
Nullable<Double>

The BM25 or Classic score for the text portion of the query.

Returns

A new TextResult instance for mocking.

Applies to