-
Notifications
You must be signed in to change notification settings - Fork 25.4k
Closed
Labels
:mlMachine learningMachine learning>enhancementTeam:MLMeta label for the ML teamMeta label for the ML team
Description
Description
A text_expansion
subsearch is hardcoded to time out after 10s, ignoring any timeout configured in the parent search task.
For example:
GET kibana_sample_data_logs/_search
{
"timeout": "30s",
"query": {
"text_expansion": {
"message": {
"model_id": ".elser_model_2",
"model_text": "the query string"
}
}
}
}
If the text_expansion
takes longer than 10s, it will time out and throw an error, ignoring the 30s configuration.
Options:
- Pass the configured
timeout
value from the parent search to the subsearches: prwhelan@241296d - Associate the subsearch task with the parent task and remove the hardcoded timeout from the
test_expansion
task. When the parent task is canceled, all children will be canceled.
Metadata
Metadata
Assignees
Labels
:mlMachine learningMachine learning>enhancementTeam:MLMeta label for the ML teamMeta label for the ML team