This commit DRYs up the indices folder as well as fixing a few minor mishaps that were in the docs.
Add get field mappings to High Level REST API Client Relates to #27205