The response structure of union query cannot be parsed using MultiSearchResult.class [here](https://github.com/typesense/typesense-java/blob/master/src/main/java/org/typesense/api/MultiSearch.java#L19). [This PR](https://github.com/typesense/typesense-api-spec/pull/96) 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: