Megosztás a következőn keresztül:


SearchModelFactory.QueryResultDocumentSemanticField Method

Definition

Initializes a new instance of QueryResultDocumentSemanticField.

public static Azure.Search.Documents.Models.QueryResultDocumentSemanticField QueryResultDocumentSemanticField (string name = default, Azure.Search.Documents.Models.SemanticFieldState? state = default);
static member QueryResultDocumentSemanticField : string * Nullable<Azure.Search.Documents.Models.SemanticFieldState> -> Azure.Search.Documents.Models.QueryResultDocumentSemanticField
Public Shared Function QueryResultDocumentSemanticField (Optional name As String = Nothing, Optional state As Nullable(Of SemanticFieldState) = Nothing) As QueryResultDocumentSemanticField

Parameters

name
String

The name of the field that was sent to the semantic enrichment process.

state
Nullable<SemanticFieldState>

The way the field was used for the semantic enrichment process (fully used, partially used, or unused).

Returns

A new QueryResultDocumentSemanticField instance for mocking.

Applies to