Crete index object when needed

allow to use #index and #delete_by_id without explicit knowledge about the need to create oss_index first.