Support iterators from index database