The response structure of union query cannot be parsed using MultiSearchResult.class here.
This PR updates the definition of SearchResult to accommodate the union response.
@kishorenc 's thoughts:
We have to add a performUnion function. Or overload perform() that has boolean union as an additional parameter.
The response structure of union query cannot be parsed using MultiSearchResult.class here.
This PR updates the definition of
SearchResultto accommodate the union response.@kishorenc 's thoughts: