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 MinDocsCondition to Rollover API #7243

Closed
Prev Previous commit
Next Next commit
specify descriptions
Signed-off-by: Almaz Shinbay <shinbay@Almazs-MacBook-Pro-2.local>
  • Loading branch information
Almaz Shinbay authored and Almaz Shinbay committed May 19, 2023
commit 9b129763650e9d300e5bb294ee8d2e0fa432a825
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ public RolloverRequest addMaxIndexSizeCondition(ByteSizeValue size) {
}

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same description as addMaxIndexDocsCondition. Specify what makes them different.

* Adds condition to check if the index has at least <code>numDocs</code> to rollover
* Adds condition to check if the index has at least <code>numDocs</code> to perform rollover.
*/
public RolloverRequest addMinIndexDocsCondition(long numDocs) {
MinDocsCondition minDocsCondition = new MinDocsCondition(numDocs);
Expand Down