[index] add support for simple index