Class SearchPagedFlux

java.lang.Object
reactor.core.publisher.Flux<SearchResult>
com.azure.core.util.paging.ContinuablePagedFlux<String,SearchResult,SearchPagedResponse>
com.azure.core.util.paging.ContinuablePagedFluxCore<String,SearchResult,SearchPagedResponse>
com.azure.core.http.rest.PagedFluxBase<SearchResult,SearchPagedResponse>
com.azure.search.documents.util.SearchPagedFlux
All Implemented Interfaces:
org.reactivestreams.Publisher<SearchResult>, CorePublisher<SearchResult>

public final class SearchPagedFlux extends com.azure.core.http.rest.PagedFluxBase<SearchResult,SearchPagedResponse>
Implementation of ContinuablePagedFlux where the continuation token type is SearchRequest, the element type is SearchResult, and the page type is SearchPagedResponse.
  • Constructor Details

  • Method Details

    • getTotalCount

      public Mono<Long> getTotalCount()
      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:
      The approximate number of documents that match the request if count is true, otherwise null.
    • getCoverage

      public Mono<Double> getCoverage()
      The percentage of the index covered in the search request.

      If minimumCoverage wasn't supplied in the request this will be null.

      Returns:
      The percentage of the index covered in the search request if minimumCoverage was set in the request, otherwise null.
    • getFacets

      public Mono<Map<String,List<FacetResult>>> getFacets()
      The facet query results based on the search request.

      If facets weren't supplied in the request this will be null.

      Returns:
      The facet query results if facets were supplied in the request, otherwise null.
    • getSemanticResults

      public Mono<SemanticSearchResults> getSemanticResults()
      The semantic search results based on the search request.

      If semantic search wasn't requested this will return a SemanticSearchResults with no values.

      Returns:
      The semantic search results if semantic search was requested, otherwise an empty SemanticSearchResults.
    • getDebugInfo

      public Mono<DebugInfo> getDebugInfo()
      The debug information that can be used to further explore your search results.
      Returns:
      The debug information that can be used to further explore your search results.