SearchModelFactory.QueryCaptionResult 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 QueryCaptionResult.
public static Azure.Search.Documents.Models.QueryCaptionResult QueryCaptionResult (string text = default, string highlights = default, System.Collections.Generic.IReadOnlyDictionary<string,object> additionalProperties = default);
static member QueryCaptionResult : string * string * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Azure.Search.Documents.Models.QueryCaptionResult
Public Shared Function QueryCaptionResult (Optional text As String = Nothing, Optional highlights As String = Nothing, Optional additionalProperties As IReadOnlyDictionary(Of String, Object) = Nothing) As QueryCaptionResult
Parameters
- text
- String
A representative text passage extracted from the document most relevant to the search query.
- highlights
- String
Same text passage as in the Text property with highlighted phrases most relevant to the query.
- additionalProperties
- IReadOnlyDictionary<String,Object>
Additional Properties.
Returns
A new QueryCaptionResult instance for mocking.
Applies to
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET