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
Add scroll parameter to reindex. Closes #3253 #3289
Conversation
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.
Looks like the generator has changed re: whitespace and tabs? Is it possible to address this, to make it easier to see the generated change?
@@ -10,9 +10,9 @@ | |||
|
|||
namespace Elasticsearch.Net | |||
{ | |||
|
|||
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.
tab in the generator?
@@ -1835,30 +1835,32 @@ public class ReindexOnServerRequestParameters : RequestParameters<ReindexOnServe | |||
public long? RequestsPerSecond { get => Q<long?>("requests_per_second"); set => Q("requests_per_second", value); } | |||
///<summary>The number of slices this task should be divided into. Defaults to 1 meaning the task isn't sliced into subtasks.</summary> | |||
public long? Slices { get => Q<long?>("slices"); set => Q("slices", value); } | |||
///<summary>Specify how long a consistent view of the index should be maintained for scrolled search</summary> | |||
public TimeSpan Scroll { get => Q<TimeSpan>("scroll"); set => Q("scroll", value); } |
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.
@russcam - the needle in the haystack. This is the change.
Backported to |
Sorry for all of the white space noise in the pull request, looks like it was added from the re-gen.
Added a patch file to the local json spec, awaiting fix in
elasticsearch
repo: elastic/elasticsearch#31316