Class MultiSearchResponse.Item

java.lang.Object
org.elasticsearch.action.search.MultiSearchResponse.Item
All Implemented Interfaces:
Writeable, ChunkedToXContent
Enclosing class:
MultiSearchResponse

public static class MultiSearchResponse.Item extends Object implements Writeable, ChunkedToXContent
A search response item, holding the actual search response, or an error message if it failed.
  • Constructor Details

    • Item

      public Item(@Nullable SearchResponse response, @Nullable Exception exception)
      Parameters:
      response - search response that is considered owned by this instance after this constructor returns or null
      exception - exception in case of search failure
  • Method Details