You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elasticsearch version (bin/elasticsearch --version): 7.6.0
Description of the problem including expected versus actual behavior:
When sending an ingest pipeline _simulate request, If the value of docs is an empty array, a response is never returned.
I would've expected the request to either immediately fail and ask for the docs array to have at least 1 document, or have the request succeed and return:
{
"docs" : []
}
Steps to reproduce:
Send POST _ingest/pipeline/_simulate with the following payload:
{
"pipeline": {
"processors": []
},
"docs": []
}
Notice that a response is never returned.
The text was updated successfully, but these errors were encountered:
dolaru
changed the title
Ingest pipeline _simulate with empty docs array times out and returns 500
Ingest pipeline _simulate request with empty docs array never returns a response
Feb 26, 2020
Elasticsearch version (
bin/elasticsearch --version
): 7.6.0Description of the problem including expected versus actual behavior:
When sending an ingest pipeline
_simulate
request, If the value ofdocs
is an empty array, a response is never returned.I would've expected the request to either immediately fail and ask for the
docs
array to have at least 1 document, or have the request succeed and return:Steps to reproduce:
POST _ingest/pipeline/_simulate
with the following payload:The text was updated successfully, but these errors were encountered: