-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 a note on multi-statement scripted field limitation #9090
Conversation
Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See elastic#9024 Related elastic/elasticsearch#21479
To avoid having info/warning boxes stacked three high I tried to incorporate the warning into the existing help text. I also didn't implement any logic to show/hide it based on the selected lang since we're already showing Painless and lucene info side by side there. |
LGTM |
Backports PR #9090 **Commit 1:** Add a note on multi-statement scripted field limitation Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See #9024 Related elastic/elasticsearch#21479 * Original sha: b4aaed8 * Authored by Matthew Bargar <[email protected]> on 2016-11-15T22:47:26Z
Backports PR #9090 **Commit 1:** Add a note on multi-statement scripted field limitation Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See #9024 Related elastic/elasticsearch#21479 * Original sha: b4aaed8 * Authored by Matthew Bargar <[email protected]> on 2016-11-15T22:47:26Z
Backports PR #9090 **Commit 1:** Add a note on multi-statement scripted field limitation Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See #9024 Related elastic/elasticsearch#21479 * Original sha: b4aaed8 * Authored by Matthew Bargar <[email protected]> on 2016-11-15T22:47:26Z
Backports PR #9090 **Commit 1:** Add a note on multi-statement scripted field limitation Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See #9024 Related elastic/elasticsearch#21479 * Original sha: b4aaed8 * Authored by Matthew Bargar <[email protected]> on 2016-11-15T22:47:26Z
@epixa I thought we were waiting to merge this until we were sure we didn't have a better fix? Were you just wanting to make sure it got in 5.0.2? |
@Bargs I'd rather err on the side of getting it in so it goes out with 5.0.2. We can always revert it if we can fix the core issue before 5.0.2. |
Backports PR elastic#9090 **Commit 1:** Add a note on multi-statement scripted field limitation Multi-statement scripts are currently incompatible with the way we create filters on scripted fields. We're investigating the possibility of enhancing elasticsearch to fix this issue, but we may have to fallback on showing users a warning if we can't reach an agreement in the near term. See elastic#9024 Related elastic/elasticsearch#21479 * Original sha: b4aaed8 * Authored by Matthew Bargar <[email protected]> on 2016-11-15T22:47:26Z Former-commit-id: 24840a9
Multi-statement scripts are currently incompatible with the way we
create filters on scripted fields. We're investigating the possibility
of enhancing elasticsearch to fix this issue, but we may have to
fallback on showing users a warning if we can't reach an agreement in
the near term.
See #9024
Related elastic/elasticsearch#21479