-
Notifications
You must be signed in to change notification settings - Fork 1.3k
ReactiveElasticsearchClient missing simple count() method #2749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The You can for example use the following code to get the number of entries in an index by using operations.count(operations.matchAllQuery(), Void.class, IndexCoordinates.of("index-name")); Or you could add the count method by contributing with a PR. |
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed. |
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue. |
Hi @sothawo, I noticed the count() method is still not implemented yet, and was wondering if it’s still needed. If so, I’d be happy to contribute. |
Feel free to implement this, I think this should be 2 methods then, |
Add count methods using CountRequest with just ELC's ReactiveElasticsearchClient, without having to initialize any entity or repository. Also, refactored existing doCount method from ELC's ReactiveElasticsearchTemplate to use the newly created count method. Closes spring-projects#2749
Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. Refactored the existing doCount method in ReactiveElasticsearchTemplate to utilize the newly added count method. Closes spring-projects#2749
Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. Refactored the existing doCount method in ReactiveElasticsearchTemplate to utilize the newly added count method. Closes spring-projects#2749
Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. Closes spring-projects#2749
Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. Closes spring-projects#2749
Implemented count methods using CountRequest directly with ELC's ReactiveElasticsearchClient, eliminating the need to initialize any entity or repository. Closes spring-projects#2749
Is there a way to send a CountRequest without having an entity and repository?
What if I want to count number of documents in some index when having only index name?
The text was updated successfully, but these errors were encountered: