Skip to content

Commit 0f5af55

Browse files
jrodewigjguay
andauthored
[DOCS] Update example request description (#68587) (#68658)
The doc is misleading : The following intervals search returns documents containing `my favorite food` **immediately** followed by `hot water` or `cold porridge` max_gaps apply only to the match query and is not used for checking proximity with the other match, the example given actually`This search would match a my_text value of my favorite food is cold` Co-authored-by: Julien Guay <[email protected]>
1 parent 6823d6a commit 0f5af55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/query-dsl/intervals-query.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ parent sources.
1818
==== Example request
1919

2020
The following `intervals` search returns documents containing `my
21-
favorite food` immediately followed by `hot water` or `cold porridge` in the
21+
favorite food` without any gap, followed by `hot water` or `cold porridge` in the
2222
`my_text` field.
2323

2424
This search would match a `my_text` value of `my favorite food is cold

0 commit comments

Comments
 (0)