Implement reindex command that can reindex all documents from an index into another.
documenting