[doc][index] Add iterative_query example to imports and tweak it slightly.