-
Notifications
You must be signed in to change notification settings - Fork 505
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
Fix example code for temporary search pipelines #5555
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. Signed-off-by: Tim Vossen <[email protected]>
upwards-gravity
requested review from
hdhalter,
kolchfa-aws,
Naarcha-AWS,
vagimeli,
ananzh,
seanneumann,
AMoo-Miki and
natebower
as code owners
November 9, 2023 09:39
kolchfa-aws
approved these changes
Nov 9, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @upwards-gravity!
kolchfa-aws
added
backport 2.9
PR: Backport label for 2.9
backport 2.10
PR: Backport label for 2.10
backport 2.11
PR: Backport label for 2.11
labels
Nov 9, 2023
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. Signed-off-by: Tim Vossen <[email protected]> (cherry picked from commit d8b6f66) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. Signed-off-by: Tim Vossen <[email protected]> (cherry picked from commit d8b6f66) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. Signed-off-by: Tim Vossen <[email protected]> (cherry picked from commit d8b6f66) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 task
kolchfa-aws
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. (cherry picked from commit d8b6f66) Signed-off-by: Tim Vossen <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kolchfa-aws
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. (cherry picked from commit d8b6f66) Signed-off-by: Tim Vossen <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
kolchfa-aws
pushed a commit
that referenced
this pull request
Nov 9, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. (cherry picked from commit d8b6f66) Signed-off-by: Tim Vossen <[email protected]> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
vagimeli
pushed a commit
that referenced
this pull request
Dec 21, 2023
The temporary pipeline has to be referenced with `search_pipeline` instead of `pipeline` in the JSON. Otherwise, you get the error `{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}`. Tested with Docker image `opensearchproject/opensearch:2.11.0`. Signed-off-by: Tim Vossen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport 2.9
PR: Backport label for 2.9
backport 2.10
PR: Backport label for 2.10
backport 2.11
PR: Backport label for 2.11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Fixes the example code for temporary search pipelines.
Issues Resolved
The temporary pipeline has to be referenced with
search_pipeline
instead ofpipeline
in the JSON.Otherwise, you get the error
{"error":{"root_cause":[{"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16}],"type":"parsing_exception","reason":"Unknown key for a START_OBJECT in [pipeline].","line":8,"col":16},"status":400}
.Tested with Docker image
opensearchproject/opensearch:2.11.0
.Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.