Skip to content
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

reactiveElasticsearchClient search can't get total match [DATAES-696] #1268

Closed
spring-projects-issues opened this issue Nov 22, 2019 · 1 comment
Labels
in: core status: declined type: enhancement

Comments

@spring-projects-issues
Copy link

@spring-projects-issues spring-projects-issues commented Nov 22, 2019

yannxia opened DATAES-696 and commented

reactiveElasticsearchClient search only return flux of SearchHit. but if you want to get toatal (in SearchHits), not way to do...


Affects: 3.2.2 (Moore SR2)

Issue Links:

  • DATAES-796 Provide new method to return SearchHits in ReactiveElasticsearchClient
    ("is duplicated by")
@spring-projects-issues
Copy link
Author

@spring-projects-issues spring-projects-issues commented Jan 23, 2020

sothawo commented

As the reactive search returns a continuous stream there is no way to know before hand the number of records. But can can use the same query you use for searching to issue a count query which will return the number of records

@spring-projects-issues spring-projects-issues added status: declined type: enhancement in: core labels Dec 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: declined type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant