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

Don't require fields in alias filters to exist in the mapping #12150

Merged

Conversation

martijnvg
Copy link
Member

Before alias filters were parsed at alias creation time. Therefor it was critical that fields used in alias filters exist in the mapping, otherwise the the alias filter wouldn't work correctly.

Now that alias filters are parsed at request time, the restriction that a field needs to exist at alias creation time is no longer valid. This PR removes that restriction.

@martijnvg martijnvg changed the title aliases: Don't require fields used in alias filters to exist Don't require fields used in alias filters to exist Jul 9, 2015
@jpountz
Copy link
Contributor

jpountz commented Jul 10, 2015

LGTM. Can you add a description to the PR?

@martijnvg martijnvg changed the title Don't require fields used in alias filters to exist Don't require fields in alias filters to exist in the mapping Jul 10, 2015
martijnvg added a commit that referenced this pull request Jul 10, 2015
…_parsing

Don't require fields in alias filters to exist in the mapping
@martijnvg martijnvg merged commit 9eb1126 into elastic:master Jul 10, 2015
@kevinkluge kevinkluge removed the review label Jul 10, 2015
@clintongormley clintongormley added :Data Management/Indices APIs APIs to create and manage indices and templates and removed :Aliases labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Indices APIs APIs to create and manage indices and templates >enhancement v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants