Skip to content
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

Merged
merged 1 commit into from Jun 15, 2018

Conversation

codebrain
Copy link
Contributor

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

Copy link
Contributor

@russcam russcam left a 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
{

Copy link
Contributor

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); }
Copy link
Contributor Author

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.

@codebrain codebrain merged commit 0d1e960 into master Jun 15, 2018
@codebrain
Copy link
Contributor Author

Backported to 6.x

@codebrain codebrain deleted the feature/add-scroll-to-reindex branch June 18, 2018 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants