[Xapian-discuss] having trouble getting position lists from termtierators

Jarrod Roberson jarrod at vertigrated.com
Wed Nov 1 16:00:45 GMT 2006


On 10/31/06, Olly Betts <olly at survex.com> wrote:
>
> On Tue, Oct 31, 2006 at 12:37:12PM -0500, Jarrod Roberson wrote:
> > here is the code I can't get to work, every term throws a
> > Xapian::InvalidOperationError
> > begin and end are pointers to copies of the begin and end iterators from
> > database.
>
> What do you mean by "from database"?
>
> If you're trying to iterate positions from a TermIterator returned by
> allterms_begin(), then this is the expected behaviour


thanks for clearing that up, it wasn't EXACTLY clear from the error message
the exception returns.


More information about the Xapian-discuss mailing list