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

Retrieve SearchResponse using ReactiveElasticsearchTemplate [DATAES-879] #1452

Closed
spring-projects-issues opened this issue Jul 6, 2020 · 1 comment
Labels
in: core Issues in core support status: duplicate A duplicate of another issue type: enhancement A general enhancement

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Jul 6, 2020

gitterhh opened DATAES-879 and commented

Using Elasticsearch API we can retrieve at once hits and aggregations

{
    "query": \{ "match_all": {} },
    "size": 10,
    "aggregations" : {
        "category" : {            

            "terms": \{ "field": "category" }

        }
    }
}

But in the ReactiveElasticsearchTemplate class the search and aggregations a 2 different methods.

It will be perfect to retrieve these data at once, to have SearchResponse as result type


Issue Links:

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

spring-projects-issues commented Jul 6, 2020

sothawo commented

This a duplicate of DATAES-796 (Provide new method to return SearchHits in ReactiveElasticsearchClient)

@spring-projects-issues spring-projects-issues added type: enhancement A general enhancement in: core Issues in core support status: duplicate A duplicate of another issue 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 Issues in core support status: duplicate A duplicate of another issue type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant