Interface SourceResponse

All Superinterfaces:
Operation, Response<QueryRequest>, Serializable
All Known Subinterfaces:
QueryResponse

public interface SourceResponse extends Response<QueryRequest>
Query status should come back in the properties.
Author:
Michael Menousek
  • Method Details

    • getHits

      long getHits()
      The total number of hits matching the associated Query for the associated Source, -1 if unknown. This is typically more than the number of Results returned from getResults().
      Returns:
      long - total hits matching this Query, -1 if unknown.
    • getResults

      List<Result> getResults()
      Get the Results of the associated QueryRequest
      Returns:
      the results
    • getProcessingDetails

      Set<? extends SourceProcessingDetails> getProcessingDetails()
      Get any specific details about the execution of the QueryRequest associated with this SourceResponse. Must not be null.
      Returns:
      the processing details