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
hybrid search query returns below error message for any search request with flag request_cache
"type": "illegal_state_exception",
"reason": "Score normalization processor cannot produce final query result"
How can one reproduce the bug?
Detailed steps added at the end of this issue, most important pieces are:
set exactly 1 shard in the index mapping
add request_cache flag to the search query and run exact same query at least twice:
POST example-index/_search?search_pipeline=nlp-search-pipeline&request_cache=true&preference=_local
What is the expected behavior?
Query should return actual result instead of error
What is your host/environment?
2.11 and latest main both have this issue
Do you have any additional context?
Issue can be avoided by setting 2+ shards for index. It's specific to 1 shard scenario
As per analysis query phase searcher is skipped in case of a second + query when request_cache is set, results are taken from local shard cache and passed to normalization processor. Probably logic for merging fetch and query results should be changed to deal with that cached data properly.
What is the bug?
hybrid search query returns below error message for any search request with flag
request_cache
How can one reproduce the bug?
Detailed steps added at the end of this issue, most important pieces are:
request_cache
flag to the search query and run exact same query at least twice:What is the expected behavior?
Query should return actual result instead of error
What is your host/environment?
2.11 and latest
main
both have this issueDo you have any additional context?
Issue can be avoided by setting 2+ shards for index. It's specific to 1 shard scenario
As per analysis query phase searcher is skipped in case of a second + query when
request_cache
is set, results are taken from local shard cache and passed to normalization processor. Probably logic for merging fetch and query results should be changed to deal with that cached data properly.detailed steps to repro:
actual response:
The text was updated successfully, but these errors were encountered: