Skip to content

Commit 0275c84

Browse files
committed
add refresh parameter to update API
1 parent bef80d4 commit 0275c84

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

guide/reference/api/update.textile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ p. The update operation supports similar parameters as the index API, including:
5959
* @replication@: The replication type for the delete/index operation (sync or async).
6060
* @consistency@: The write consistency of the index/delete operation.
6161
* @percolate@: Enables percolation and filters out which percolator queries will be executed.
62+
* @refresh@: Refresh the index immediately after the operation occurs, so that the updated document appears in search results immediately.
6263

6364
p. And also support @retry_on_conflict@ which controls how many times to retry if there is a version conflict between getting the document and indexing / deleting it. Defaults to @0@.
6465

0 commit comments

Comments
 (0)