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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro