Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upField alias updates are not reflected in percolator queries. #37212
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
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
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
jtibshirani
added a commit
that referenced
this issue
Mar 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We currently allow the
pathof 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 fromkeywordtolong), 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.