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
Copy file name to clipboardExpand all lines: docs/reference/reranking/semantic-reranking.asciidoc
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,9 @@ The retriever syntax makes it simple to configure both the retrieval and re-rank
103
103
[%collapsible]
104
104
==============
105
105
The following example shows a search request that uses a semantic reranker to reorder the top-k documents based on their semantic similarity to the query.
106
+
107
+
NOTE: The relevance scores produced during reranking depend on the text similarity model used and can include negative values.
108
+
106
109
[source,console]
107
110
----
108
111
POST _search
@@ -121,8 +124,7 @@ POST _search
121
124
"field": "text",
122
125
"inference_id": "elastic-rerank",
123
126
"inference_text": "How often does the moon hide the sun?",
0 commit comments