Skip to content

Apply IndicesOption settings to Elasticsearch query. #2641

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
sothawo opened this issue Jul 21, 2023 · 0 comments · Fixed by #2642
Closed

Apply IndicesOption settings to Elasticsearch query. #2641

sothawo opened this issue Jul 21, 2023 · 0 comments · Fixed by #2642
Assignees
Labels
type: enhancement A general enhancement

Comments

@sothawo
Copy link
Collaborator

sothawo commented Jul 21, 2023

When the initial integration of the new Elasticsearch client was implemented, the search request builder did not yet support properties of the indices options and wildcard states like the old one did. Therefore the property org.springframework.data.elasticsearch.core.query.Query#getIndicesOptions was ignored when building a request.

In the meantime most of the previously available options can - and should - be set.

@sothawo sothawo added the type: enhancement A general enhancement label Jul 21, 2023
@sothawo sothawo added this to the 5.2 M2 (2023.1.0) milestone Jul 21, 2023
@sothawo sothawo self-assigned this Jul 21, 2023
sothawo added a commit to sothawo/spring-data-elasticsearch that referenced this issue Jul 21, 2023
sothawo added a commit that referenced this issue Jul 21, 2023
Original Pull Request #2642
Closes #2641
Closes #2639
paulrizzo pushed a commit to paulrizzo/spring-data-elasticsearch that referenced this issue Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant