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에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET