-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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 ingest pipeline _simulate api with empty docs never returns a res… #52937
Conversation
Pinging @elastic/es-core-features (:Core/Features/Ingest) |
@elasticmachine update branch |
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.
@gaobinlong, thank you for fixing this bug. I made a couple minor suggestions for the error messages. Otherwise, this looks great and I'll get it merged in.
server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequest.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/action/ingest/SimulatePipelineRequestParsingTests.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/action/ingest/SimulatePipelineRequest.java
Outdated
Show resolved
Hide resolved
server/src/test/java/org/elasticsearch/action/ingest/SimulatePipelineRequestParsingTests.java
Outdated
Show resolved
Hide resolved
server/src/main/java/org/elasticsearch/action/ingest/SimulateExecutionService.java
Show resolved
Hide resolved
Thanks @danhermann and @martijnvg, I have made a new commit which contains some changes following your comment. Can you have a look on that? |
@elasticmachine update branch |
@elasticmachine ok to test |
Thanks for the fix, @gaobinlong! I'll get this merged now. |
This PR relates to #52833.
The main changes are: