Skip to content

Commit 220197c

Browse files
committed
Fix ELSER document
1 parent 79be659 commit 220197c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/reference/search/search-your-data/semantic-search-elser.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,13 +187,14 @@ GET my-index/_search
187187
"query":{
188188
"sparse_vector":{
189189
"field": "content_embedding",
190-
"inference_id": "my-elser-endpoint",
190+
"inference_id": ".elser_model_2_linux-x86_64", <1>
191191
"query": "How to avoid muscle soreness after running?"
192192
}
193193
}
194194
}
195195
----
196196
// TEST[skip:TBD]
197+
<1> When performing a sparse vector search, use the `model_id`, not the `inference_id`.
197198

198199
The result is the top 10 documents that are closest in meaning to your query text from the `my-index` index sorted by their relevancy.
199200
The result also contains the extracted tokens for each of the relevant search results with their weights.

0 commit comments

Comments
 (0)