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

Add a note on multi-statement scripted field limitation #9090

Merged
merged 1 commit into from
Nov 17, 2016

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Nov 15, 2016

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

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
@Bargs
Copy link
Contributor Author

Bargs commented Nov 15, 2016

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.

@epixa
Copy link
Contributor

epixa commented Nov 15, 2016

LGTM

@tbragin tbragin added the Feature:Scripted Fields Scripted fields features label Nov 16, 2016
@epixa epixa assigned Bargs and unassigned epixa Nov 16, 2016
@epixa epixa merged commit 5032b91 into elastic:master Nov 17, 2016
elastic-jasper added a commit that referenced this pull request Nov 17, 2016
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
elastic-jasper added a commit that referenced this pull request Nov 17, 2016
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 pushed a commit that referenced this pull request Nov 17, 2016
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 pushed a commit that referenced this pull request Nov 17, 2016
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
@Bargs
Copy link
Contributor Author

Bargs commented Nov 17, 2016

@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?

@epixa
Copy link
Contributor

epixa commented Nov 17, 2016

@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.

@epixa epixa added v5.1.1 and removed v5.1.0 labels Dec 8, 2016
airow pushed a commit to airow/kibana that referenced this pull request Feb 16, 2017
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants