Skip to content

[7.x] Adding new require_alias option to indexing requests (#58917)#59769

Merged
benwtrent merged 2 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-58917
Jul 17, 2020
Merged

[7.x] Adding new require_alias option to indexing requests (#58917)#59769
benwtrent merged 2 commits intoelastic:7.xfrom
benwtrent:backport/7.x/pr-58917

Conversation

@benwtrent
Copy link
Copy Markdown
Member

Backports the following commits to 7.x:

This commit adds the `require_alias` flag to requests that create new documents.

This flag, when `true` prevents the request from automatically creating an index. Instead, the destination of the request MUST be an alias.

When the flag is not set, or `false`, the behavior defaults to the `action.auto_create_index` settings.

This is useful when an alias is required instead of a concrete index.

closes elastic#55267
@benwtrent benwtrent added :ml Machine learning backport labels Jul 17, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/ml-core (:ml)

@benwtrent benwtrent added :Core/Features/Features and removed :ml Machine learning labels Jul 17, 2020
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features (:Core/Features/Features)

@elasticmachine elasticmachine added the Team:Data Management (obsolete) DO NOT USE. This team no longer exists. label Jul 17, 2020
@benwtrent benwtrent merged commit b7f30fc into elastic:7.x Jul 17, 2020
@benwtrent benwtrent deleted the backport/7.x/pr-58917 branch July 17, 2020 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Data Management (obsolete) DO NOT USE. This team no longer exists.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants