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

Olly Betts olly at survex.com
Mon Sep 13 02:44:12 BST 2021


On Sun, Sep 12, 2021 at 03:29:05PM -0400, Jim wrote:
> I discovered the answer to this.  Search::Xapian is the XS bindings while
> Xapian is the the SWIG generated bindings.  Since I couldn't figure out how
> to get DateRangeProcessor or NumberRangeProcessor to work, and I found an
> example that used the SWIG bindings, I switched.  That may account for the
> change in behavior of the Termiterator.  Is there documentation for the SWIG
> bindings?

Yes, see the POD docs for the Xapian module, e.g.:

perldoc Xapian

In particular the COMPATIBILITY section should answer all your questions
about stringification changes.

(I have just pushed a fix for the misformatting of code snippets
containing `>`).

Cheers,
    Olly



More information about the Xapian-discuss mailing list