Xapian::Termiterator is not working the way it used to with perl
Olly Betts
olly at survex.com
Mon Sep 13 21:41:22 BST 2021
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
More information about the Xapian-discuss
mailing list