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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET