Reindex method, custom index and type name

Signed-off-by: Fadion Dashi <jonidashi@gmail.com>