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/user/ppl/interfaces/endpoint.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -280,6 +280,16 @@ Expected output (trimmed):
280
280
| `post_tags` | Array of string | No | Tags inserted after highlighted tokens. Defaults to `</em>`. |
281
281
| `fragment_size` | Integer | No | Maximum character size of a highlight fragment. Defaults to `100`. |
282
282
283
+
### Limits
284
+
285
+
| Constraint | Max value | Description |
286
+
|---|---|---|
287
+
| Highlight fields | 100 | Maximum number of fields in the `highlight` array or `fields` object. |
288
+
| Pre/post tags | 10 | Maximum number of entries in each `pre_tags` or `post_tags` array. |
289
+
| Fragment size | > 0 | Must be a positive integer. |
290
+
291
+
Exceeding these limits returns an error.
292
+
283
293
### Notes
284
294
285
295
- Highlighting requires a search term in the PPL statement (e.g. `source=accounts "Holmes"`). Without a search term (e.g. just `source=accounts`), the `highlights` array entries will be empty.
0 commit comments