SearchPagedIterable Class
- java.
lang. Object - com.
azure. core. util. IterableStream<T> - com.
azure. core. util. paging. ContinuablePagedIterable<C,T,P> - com.
azure. core. http. rest. PagedIterableBase<T,P> - com.
azure. search. documents. util. SearchPagedIterable
- com.
- com.
- com.
- com.
public final class SearchPagedIterable
extends PagedIterableBase<SearchResult,SearchPagedResponse>
Implementation of ContinuablePagedIterable where the continuation token type is SearchRequest, the element type is SearchResult, and the page type is SearchPagedResponse.
Constructor Summary
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Double |
getCoverage()
Deprecated The percentage of the index covered in the search request. |
|
Debug |
getDebugInfo()
Deprecated The debug information that can be used to further explore your search results. |
|
Map<String,List<Facet |
getFacets()
Deprecated The facet query results based on the search request. |
|
Semantic |
getSemanticResults()
Deprecated The semantic search results based on the search request. |
| Long |
getTotalCount()
Deprecated The approximate number of documents that matched the search and filter parameters in the request. |
Methods inherited from IterableStream
Methods inherited from ContinuablePagedIterable
Methods inherited from java.lang.Object
Constructor Details
SearchPagedIterable
@Deprecated
public SearchPagedIterable(SearchPagedFlux pagedFlux)
Deprecated
Creates an instance of SearchPagedIterable.
Parameters:
SearchPagedIterable
public SearchPagedIterable(Supplier<SearchPagedResponse> firstPageRetriever)
Creates an instance of SearchPagedIterable. The constructor takes a Supplier. The Supplier returns the first page of SearchPagedResponse.
Parameters:
SearchPagedIterable
public SearchPagedIterable(Supplier<SearchPagedResponse> firstPageRetriever, Function<String,SearchPagedResponse> nextPageRetriever)
Creates an instance of SearchPagedIterable. The constructor takes a Supplier and Function. The Supplier returns the first page of SearchPagedResponse, the Function retrieves subsequent pages of SearchPagedResponse.
Parameters:
Method Details
getCoverage
@Deprecated
public Double getCoverage()
Deprecated
The percentage of the index covered in the search request.
If minimumCoverage wasn't supplied in the request this will be null.
Returns:
minimumCoverage was set in the
request, otherwise null.getDebugInfo
@Deprecated
public DebugInfo getDebugInfo()
Deprecated
The debug information that can be used to further explore your search results.
Returns:
getFacets
@Deprecated
public Map<String,List<FacetResult>> getFacets()
Deprecated
The facet query results based on the search request.
If facets weren't supplied in the request this will be null.
Returns:
facets were supplied in the request, otherwise null.getSemanticResults
@Deprecated
public SemanticSearchResults getSemanticResults()
Deprecated
The semantic search results based on the search request.
If semantic search wasn't requested this will return a SemanticSearchResults with no values.
Returns:
getTotalCount
@Deprecated
public Long getTotalCount()
Deprecated
The approximate number of documents that matched the search and filter parameters in the request.
If count is set to false in the request this will be null.
Returns:
count is true, otherwise
null.