Re: Xapian::Termiterator is not working the way it used to with perl

Olly Betts <[email protected]> Mon, 13 Sep 2021 21:41:22 +0100
Newsgroups gmane.comp.search.xapian.general
Message-ID <[email protected]>
On Mon, Sep 13, 2021 at 07:32:10AM -0400, Jim wrote:
> Yes, I used the get_termname() function and it worked like a charm, almost. 
> Actually that gave me the answer I needed but the loop kept quitting with a
> SEGV.  I tracked it down the the overloaded ++.  When I replaced $xit++ with
> $xit->inc() it kept running.  Guess there's more than one problem with
> overloading.

Do you have a reproducer?

We have test coverage for ++ on a TermIterator, and that passes.

Cheers,
     Olly