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 @@ -456,10 +456,13 @@ GET movies/_search
456456 "retriever": {
457457 "rescorer": { <2>
458458 "rescore": {
459- "query ": { <3>
460- "window_size ": 50, <4>
459+ "window_size ": 50, <3>
460+ "query ": { <4>
461461 "rescore_query": {
462462 "script_score": {
463+ "query": {
464+ "match_all": {}
465+ },
463466 "script": {
464467 "source": "cosineSimilarity(params.queryVector, 'product-vector_final_stage') + 1.0",
465468 "params": {
@@ -516,8 +519,8 @@ GET movies/_search
516519// TEST[skip:uses ELSER]
517520<1> Specifies the number of top documents to return in the final response.
518521<2> A `rescorer` retriever applied as the final step.
519- <3> The definition of the `query` rescorer .
520- <4> Defines the number of documents to rescore from the child retriever .
522+ <3> Defines the number of documents to rescore from the child retriever .
523+ <4> The definition of the `query` rescorer .
521524<5> Specifies the child retriever definition.
522525<6> Defines the number of documents returned by the `rrf` retriever, which limits the available documents to
523526
You can’t perform that action at this time.
0 commit comments