Initial port of the index management command from Kitsune and Kuma.