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

Add rest endpoint for create_from_source_index #119250

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

parkertimmins
Copy link
Contributor

@parkertimmins parkertimmins commented Dec 23, 2024

Add rest endpoint for create-index-from-source action. This endpoint will create a new index using the settings and mappings from an existing source index. Setting and mapping overrides can be added to the request which will override settings and mappings from the source index.

Request
Method: POST or PUT
Path: _create_from/{source}/{dest} where source is an existing source index and dest is the name of the index to create.
Body can contain settingsOverride and mappingsOverride which are standard setting and mapping objects which will be merged with values from source index.

@parkertimmins parkertimmins added auto-backport Automatically create backport pull requests when merged v8.18.0 labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants