public final class SearchPagedIterable extends com.azure.core.http.rest.PagedIterableBase<SearchResult,SearchPagedResponse>
ContinuablePagedIterable where the continuation token type is SearchRequest, the
element type is SearchResult, and the page type is SearchPagedResponse.| Constructor and Description |
|---|
SearchPagedIterable(SearchPagedFlux pagedFlux)
Creates an instance of
SearchPagedIterable. |
| Modifier and Type | Method and Description |
|---|---|
Double |
getCoverage()
The percentage of the index covered in the search request.
|
Map<String,List<FacetResult>> |
getFacets()
The facet query results based on the search request.
|
Long |
getTotalCount()
The approximate number of documents that matched the search and filter parameters in the request.
|
iterableByPage, iterableByPage, iterableByPage, iterableByPage, iterator, stream, streamByPage, streamByPage, streamByPage, streamByPageclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SearchPagedIterable(SearchPagedFlux pagedFlux)
SearchPagedIterable.pagedFlux - The SearchPagedFlux that will be consumed as an iterable.public Double getCoverage()
If minimumCoverage wasn't supplied in the request this will be null.
minimumCoverage was set in the
request, otherwise null.public Map<String,List<FacetResult>> getFacets()
If facets weren't supplied in the request this will be null.
facets were supplied in the request, otherwise null.public Long getTotalCount()
If count is set to false in the request this will be null.
count is true, otherwise
null.Copyright © 2020 Microsoft Corporation. All rights reserved.