-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
Field alias updates are not reflected in percolator queries. #37212
Labels
>bug
priority:normal
A label for assessing bug priority to be used by ES engineers
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
Comments
Pinging @elastic/es-search |
We discussed this issue in the search meeting and agreed to either:
|
jtibshirani
added a commit
to jtibshirani/elasticsearch
that referenced
this issue
Mar 14, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to elastic#37212.
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to #37212.
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to #37212.
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to #37212.
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to #37212.
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Currently if a field alias is updated, any percolator queries that contain the alias will still refer to its old target. This PR documents the issue while we look into addressing it. Relates to #37212.
Pinging @elastic/es-search (Team:Search) |
Pinging @elastic/es-search-foundations (Team:Search Foundations) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
>bug
priority:normal
A label for assessing bug priority to be used by ES engineers
:Search Foundations/Mapping
Index mappings, including merging and defining field types
Team:Search Foundations
Meta label for the Search Foundations team in Elasticsearch
We currently allow the
path
of a field alias to be changed through a mapping update. This interacts poorly with percolator queries, as seen in the following gist where changing the path of an alias causes a percolator query to no longer match as expected: https://gist.github.com/jtibshirani/c86b5533b1b4d3ab83fb44280e4817b9. The issue is especially tricky because updating a field alias can update the actual field type (say fromkeyword
tolong
), which may affect how percolator indexes the query.This bug raises a larger question: do we want to allow the path of a field alias to change, as is currently implemented?
Relates to #36418, which discusses the possibility of deleting field aliases.
The text was updated successfully, but these errors were encountered: