This commit DRYs up the indices folder as well as fixing a few minor mishaps that were in the docs.
This commit also fixes a typo in the analyze high-level client documentation.