SearchModelFactory.AutocompleteResults 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 AutocompleteResults.
public static Azure.Search.Documents.Models.AutocompleteResults AutocompleteResults (double? coverage = default, System.Collections.Generic.IEnumerable<Azure.Search.Documents.Models.AutocompleteItem> results = default);
static member AutocompleteResults : Nullable<double> * seq<Azure.Search.Documents.Models.AutocompleteItem> -> Azure.Search.Documents.Models.AutocompleteResults
Public Shared Function AutocompleteResults (Optional coverage As Nullable(Of Double) = Nothing, Optional results As IEnumerable(Of AutocompleteItem) = Nothing) As AutocompleteResults
Parameters
A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.
- results
- IEnumerable<AutocompleteItem>
The list of returned Autocompleted items.
Returns
A new AutocompleteResults 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