Description
I need a clarification from the team regarding one aspect of hybrid query when it's used with knn/neural query and pagination feature.
In recently developed pagination feature for hybrid query (released in 2.19) new parameter pagination depth
sets the max number of doc scores that can be collected at the shard level for a single sub-query. Effectively that works in a same way as existing size
.
For knn and neural queries there is one more parameter that works in a similar way and can limit the number of documents we retrieve from the shard or even segment level. This parameter is k
, and typical recommendation is to keep size and k equal.
My question is: does the pagination depth in hybrid query change this behavior, or knn/neural query will keep work as they do today?
And is there a documentation that describes this behavior? This is important to know because vector query is normally part of the hybrid search.