-
Notifications
You must be signed in to change notification settings - Fork 1.3k
How to transfer CriteriaQuery to QueryBuilder #1765
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
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. |
Thanks for your reply. I got the solution of the nested query from #1753. But how do I create a nested sort? I used |
Nested sorts are not yet supported by Spring Data Elasticsearch. Please create a new issue for this. |
OK, I will. That's why I asked about the issue. In the future, Elasticsearch will be updated with many new APIs, but Spring-Data-Elasticsearch was not upgraded in time, if I can get QueryBuilder(or SourceBuilder), this will have better applicability. Some scenarios can be implemented with Spring-Data-Elasticsearch, and some unsupported scenarios can be implemented with QueryBuilder. |
There are |
There are some problems to use CriteriaQuery API.
Such as nested query.
So, I found
org.springframework.data.elasticsearch.core.convert.MappingElasticsearchConverter#updateCriteria
. Are there any other APIs for me to use?Thanks!
The text was updated successfully, but these errors were encountered: