File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -433,10 +433,13 @@ GET movies/_search
433433 "retriever": {
434434 "rescorer": { <2>
435435 "rescore": {
436- "query ": { <3>
437- "window_size ": 50, <4>
436+ "window_size ": 50, <3>
437+ "query ": { <4>
438438 "rescore_query": {
439439 "script_score": {
440+ "query": {
441+ "match_all": {}
442+ },
440443 "script": {
441444 "source": "cosineSimilarity(params.queryVector, 'product-vector_final_stage') + 1.0",
442445 "params": {
@@ -493,8 +496,8 @@ GET movies/_search
493496// TEST[skip:uses ELSER]
494497<1> Specifies the number of top documents to return in the final response.
495498<2> A `rescorer` retriever applied as the final step.
496- <3> The definition of the `query` rescorer .
497- <4> Defines the number of documents to rescore from the child retriever .
499+ <3> Defines the number of documents to rescore from the child retriever .
500+ <4> The definition of the `query` rescorer .
498501<5> Specifies the child retriever definition.
499502<6> Defines the number of documents returned by the `rrf` retriever, which limits the available documents to
500503
You can’t perform that action at this time.
0 commit comments