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
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