Skip to content

Commit

Permalink
Merge pull request #1039 from untergeek/fix/1038
Browse files Browse the repository at this point in the history
Add batch size to schema for reindex request_body
  • Loading branch information
untergeek committed Aug 23, 2017
2 parents 0e58a5c + eed52b8 commit 296846e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions curator/defaults/option_defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ def request_body():
Optional('socket_timeout'): Any(str, unicode),
Optional('connect_timeout'): Any(str, unicode),
},
Optional('size'): Coerce(int),
Optional('type'): Any(Any(str, unicode), list),
Optional('query'): dict,
Optional('sort'): dict,
Expand Down
6 changes: 6 additions & 0 deletions docs/Changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ Changelog
* Allow use of time/date string interpolation for Rollover index naming.
Added in #1010 (tschroeder-zendesk)

**Bug Fixes**

* Reindex ``request_body`` allows for 2 different ``size`` options. One
limits the number of documents reindexed. The other is for batch sizing.
The batch sizing option was missing from the schema validator. This has
been corrected. Reported in #1038 (untergeek)

5.1.2 (08 August 2017)
----------------------
Expand Down

0 comments on commit 296846e

Please sign in to comment.