Skip to content

Commit 8cae0f6

Browse files
committed
Clarify number of fragments
1 parent d9d105e commit 8cae0f6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/reference/elasticsearch/mapping-reference/semantic-text.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,14 @@ POST test-index/_search
282282
"highlight": {
283283
"fields": {
284284
"my_semantic_field": {
285-
"number_of_fragments": 5
285+
"number_of_fragments": 5 <1>
286286
}
287287
}
288288
}
289289
}
290+
```
291+
292+
1. This will return the first 5 chunks, set this number higher to retrieve more chunks.
290293

291294
Highlighting is supported on fields other than semantic_text. However, if you
292295
want to restrict highlighting to the semantic highlighter and return no

0 commit comments

Comments
 (0)