You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I need to have total count while searching and would like to avoid making two searches in Elasticsearch.
For non-reactive version of SearchOperations I could use the following method:
But I miss the corresponding method in ReactiveSearchOperations. It would be very convenient to have something similar in ReactiveSearchOperations like:
Hello,
I need to have total count while searching and would like to avoid making two searches in Elasticsearch.
For non-reactive version of
SearchOperations
I could use the following method:<T> SearchHits<T> search(Query query, Class<T> clazz);
But I miss the corresponding method in
ReactiveSearchOperations
. It would be very convenient to have something similar inReactiveSearchOperations
like:<T> ReactiveSearchHits<T> search(Query query, Class<T> clazz);
where the
ReactiveSearchHits
is a reactive version ofSearchHits
returningFlux
instead ofList
.Is this possible to deliver such an API or are there any alternative ways for doing that in the reactive world?
I am using Spring Boot 2.5.6 with Spring Data ElasticSearch 4.0.4. Thank you in advance for your help!
The text was updated successfully, but these errors were encountered: