Skip to content

ReactiveElasticsearchTemplate should use the count API [DATAES-680] #1253

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

Closed
spring-projects-issues opened this issue Nov 3, 2019 · 1 comment
Labels
in: core Issues in core support type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

sothawo opened DATAES-680 and commented

Currently ReactiveElasticsearchTemplate uses the normal search mechanism for a count query by retrieving the data and counting the flux elements. For performance reasons this needs to replaced with the count API that is available as of Elasticsearch version 7


Affects: 4.0 M1 (Neumann), 3.2.1 (Moore SR1)

Referenced from: pull request #341, and commits 0a7af69, 62385ed, 2cf42a4

Backported to: 3.2.2 (Moore SR2)

@spring-projects-issues
Copy link
Author

sothawo commented

For documentation: with DATAES-727 the implementations use the search API again, as the count API does not honour filters on the query

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core Issues in core support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant