-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Reindex conflicts clarification (docs) #40442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -118,8 +118,11 @@ POST _reindex | |
| // CONSOLE | ||
| // TEST[setup:twitter] | ||
|
|
||
| By default, version conflicts abort the `_reindex` process, but you can just | ||
| count them by setting `"conflicts": "proceed"` in the request body: | ||
| By default, version conflicts abort the `_reindex` process. The `"conflicts"` request body | ||
| parameter can be used to instruct `_reindex` to proceed with next document on version conflicts. | ||
| Notice that the handling of other types of errors is unaffected by the `"conflicts"` parameter. | ||
|
||
| By setting `"conflicts": "proceed"` in the request body the `_reindex` process will continue on version conflicts | ||
|
||
| and return a count of version conflicts encountered: | ||
|
|
||
| [source,js] | ||
| -------------------------------------------------- | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
parameter can be used to instruct
_reindexto proceed with the next document on version conflicts.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in 7f76ba8