Indexed query support