Add clarity to request fields in reindex.md #9381
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I noticed that the tabular format for the request fields made it confusing when reading the documentation. From what it looks like, several fields needed to show that they are inside of the object(s) rather than directly in the request object.
This is only one possible solution to the problem, but I could also see it as confusing since things like index settings use dot-separated object keys (though they also seem to support actual objects rather than just the dot-separated key notation for the most part) and I'm not certain if it will accept that same flat-object, dot-separated key notation for these requests, either.
Description
Fixes confusing documentation structure
Issues Resolved
N/A
Version
2.19 (at least)
Frontend features
N/A
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.