你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AutocompletePagedResponse Class
- java.
lang. Object - com.
azure. core. http. rest. PagedResponseBase<H,T> - com.
azure. search. documents. util. AutocompletePagedResponse
- com.
- com.
public final class AutocompletePagedResponse
extends PagedResponseBase<Void,AutocompleteItem>
This class represents a response from the autocomplete API. It contains the AutocompleteItem returned from the service.
Constructor Summary
Constructor | Description |
---|---|
AutocompletePagedResponse(SimpleResponse<AutocompleteResult> autocompleteResponse) |
Creates an AutocompletePagedResponse from the returned Response<T>. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Double |
getCoverage()
The percentage of the index covered in the autocomplete request. |
Methods inherited from PagedResponseBase
Methods inherited from java.lang.Object
Constructor Details
AutocompletePagedResponse
public AutocompletePagedResponse(SimpleResponse
Creates an AutocompletePagedResponse from the returned Response<T>.
Parameters:
Method Details
getCoverage
public Double getCoverage()
The percentage of the index covered in the autocomplete request.
If minimumCoverage
wasn't supplied in the request this will be null
.
Returns:
minimumCoverage
was set in the
request, otherwise null
.