Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit efa3fc2

Browse files
committed
add refresh flag doc to bulk api
1 parent 46e6360 commit efa3fc2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/elasticsearch/rest_api/bulk/index.textile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,7 @@ h2. Write Consistency
5757
p. Control if the operation will be allowed to execute based on the number of active shards within that partition (replication group). The values allowed are @one@, @quorum@, and @all@. The parameter to set it is @consistency@, and it defaults to the node level setting of @action.write_consistency@ which in turn defaults to @quorum@.
5858

5959
p. For example, in a N shards with 2 replicas index, there will have to be at least 2 active shards within the relevant partition (@quorum@) for the operation to succeed. In a N shards with 1 replica scenario, there will need to be a single shard active (in this case, @one@ and @quorum@ is the same).
60+
61+
h2. Refresh
62+
63+
p. The @refresh@ parameter can be set to @true@ in order to refresh the relevant shards after the bulk operation has occurred and make it searchable. Setting it to @true@ should be done after careful thought and verification that this does not cause a heavy load on the system (and slows down indexing).

0 commit comments

Comments
 (0)