Open prwhelan opened 5 months ago
A text_expansion subsearch is hardcoded to time out after 10s, ignoring any timeout configured in the parent search task.
text_expansion
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:
timeout
test_expansion
Pinging @elastic/ml-core (Team:ML)
Description
A
text_expansion
subsearch is hardcoded to time out after 10s, ignoring any timeout configured in the parent search task.For example:
If the
text_expansion
takes longer than 10s, it will time out and throw an error, ignoring the 30s configuration.Options:
timeout
value from the parent search to the subsearches: https://github.com/prwhelan/elasticsearch/commit/241296daa30a2bac63aa1ee59bc9c745afef2433test_expansion
task. When the parent task is canceled, all children will be canceled.