SearchModelFactory.QueryResultDocumentSemanticField Method
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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET