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

Create index with mapping in one step #1718

Closed
sothawo opened this issue Mar 5, 2021 · 0 comments · Fixed by #1723
Closed

Create index with mapping in one step #1718

sothawo opened this issue Mar 5, 2021 · 0 comments · Fixed by #1723
Assignees
Labels
type: enhancement A general enhancement

Comments

@sothawo
Copy link
Collaborator

sothawo commented Mar 5, 2021

Currently, when an index is created by a ElasticsearchRepository, this is done with two calls two the server. The first creates the index with the settings, the second stores the mappings for the index.

The IndexOperationsand ReactiveIndexOperations must offer methods to do this in one step (aliases can be defined there as well, we need to check if we add these in this first step). This is needed for some things like creating and index with index sorting (#1716). When automatically creating indices. these new methods should be used.

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