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
What is the bug?
Model search api fails when using query filters _source_includes/_source_excludes
How can one reproduce the bug?
Steps to reproduce the behavior:
Create a model
Search for that model with the following params:
curl "localhost:9200/_plugins/_knn/models/_search?pretty&_source_excludes=model_blob"
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Cannot construct model in state CREATED when model binary is null. State must be either TRAINING or FAILED"
}
],
"type" : "illegal_argument_exception",
"reason" : "Cannot construct model in state CREATED when model binary is null. State must be either TRAINING or FAILED"
},
"status" : 400
}
curl "localhost:9200/_plugins/_knn/models/_search?pretty&_source_includes=model_id"
{
"error" : {
"root_cause" : [
{
"type" : "illegal_argument_exception",
"reason" : "Invalid engine type: null"
}
],
"type" : "illegal_argument_exception",
"reason" : "Invalid engine type: null"
},
"status" : 400
}
What is the expected behavior?
Expected query results to return filtered hits
The text was updated successfully, but these errors were encountered:
What is the bug?
Model search api fails when using query filters _source_includes/_source_excludes
How can one reproduce the bug?
Steps to reproduce the behavior:
What is the expected behavior?
Expected query results to return filtered hits
The text was updated successfully, but these errors were encountered: