skip_to moves a cursor forward only.<br>That is why, I created a wrapper around iterators.<br><br>Here is a base class for them:<br><<a href="https://github.com/freeakk/xapian/blob/master/c_src/termiter_gen.h">https://github.com/freeakk/xapian/blob/master/c_src/termiter_gen.h</a>><br>
<br>And then I created few realizations of this interface:<br><<a href="https://github.com/freeakk/xapian/blob/master/c_src/termiter_doc_gen.h">https://github.com/freeakk/xapian/blob/master/c_src/termiter_doc_gen.h</a>><br>
<<a href="https://github.com/freeakk/xapian/blob/master/c_src/termiter_spy_gen.h">https://github.com/freeakk/xapian/blob/master/c_src/termiter_spy_gen.h</a>><br><br>After all, I can create an exemplar of one of this objects and store a pointer on it as a property of the TermQlcTable.<br>
<<a href="https://github.com/freeakk/xapian/blob/master/c_src/qlc_table.h">https://github.com/freeakk/xapian/blob/master/c_src/qlc_table.h</a>><br><br>