-
Notifications
You must be signed in to change notification settings - Fork 423
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 new parameter to Clear Index Cache API #4132
Conversation
Signed-off-by: Heather Halter <hdhalter@amazon.com>
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.
Removing an extra tick mark from the code example, otherwise, LGTM.
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM>
Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM>
@kotwanikunal - Hi Kunal, can you please check this for technical accuracy? Thanks. |
LGTM! Thanks 👍 |
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.
@hdhalter Just a couple of comments to be addressed. Please tag me when complete.
Signed-off-by: Heather Halter <hdhalter@amazon.com>
Signed-off-by: Heather Halter <hdhalter@amazon.com>
Signed-off-by: Heather Halter <hdhalter@amazon.com>
@natebower - ready for re-review. @kolchfa-aws - can you also give it a check? I fixed the formatting on the example requests and the headings (they were inconsistent with the rest of the index API files). Thanks! |
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.
@hdhalter A couple more comments.
@kotwanikunal - Is there any reason not to call this topic "Clear cache" to keep consistent with the other topics? The first sentence says, "The clear cache API operation clears the caches of one or more indexes. For data streams, the API clears the caches of the stream’s backing indexes." |
Signed-off-by: Heather Halter <hdhalter@amazon.com>
File cache is a new and separate entity from the existing cache. We need to use it specifically in this context to make it clear which cache the user intends to clear. |
@kotwanikunal - Would it be correct to say, "The clear cache API operation clears the caches of indexes, data streams, and files. For data streams, the API clears the caches of the stream’s backing indexes." |
Kunal is good with how it is. @Naarcha-AWS - do you want to take another pass? I changed the name of the topic to "Clear cache". Oops, I meant to tag @natebower. : ) |
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.
LGTM
Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM>
* clearcacheAPI Signed-off-by: Heather Halter <hdhalter@amazon.com> * Update _api-reference/index-apis/clear-index-cache.md Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM> * Update _api-reference/index-apis/clear-index-cache.md Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM> * editsfromteam Signed-off-by: Heather Halter <hdhalter@amazon.com> * fixedtickmarks Signed-off-by: Heather Halter <hdhalter@amazon.com> * fixedheadings Signed-off-by: Heather Halter <hdhalter@amazon.com> * fixheadings Signed-off-by: Heather Halter <hdhalter@amazon.com> * add-or Signed-off-by: Heather Halter <hdhalter@amazon.com> --------- Signed-off-by: Heather Halter <hdhalter@amazon.com> Signed-off-by: Heather Halter <HDHALTER@AMAZON.COM> Co-authored-by: Naarcha-AWS <97990722+Naarcha-AWS@users.noreply.github.com>
Description
Describe what this change achieves.
Issues Resolved
fixes #4092
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.