Using '_cat/segments' or the indices segments api without matching any index now returns empty result instead of throwing IndexMissingException. Closes #9219
The '_cat/segments' api was missing docs and a rest test which are added here. Closes #5856