Skip to content

Commit fb64c18

Browse files
authored
[DOCS] Update term vectors snippet to prevent CI failure (#52819)
Adds the `?refresh=wait_for` query argument to an index API snippet in the term vectors API docs. This should ensure the document is indexed and available before a subsequent term vectors API request executes. Fixes #52814.
1 parent 42fbca7 commit fb64c18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/docs/termvectors.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ PUT /twitter/_doc/1
216216
"text" : "twitter test test test "
217217
}
218218
219-
PUT /twitter/_doc/2
219+
PUT /twitter/_doc/2?refresh=wait_for
220220
{
221221
"fullname" : "Jane Doe",
222222
"text" : "Another twitter test ..."

0 commit comments

Comments
 (0)