Jim
2021-Sep-12 19:29 UTC
Xapian::Termiterator is not working the way it used to with perl
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? Thanks Jim On 9/11/21 4:41 PM, Jim wrote:> Also I noticed that the docs refer to Search::Xapian:: but the > examples in the bindings directory use just Xapian::. > > Why the change?
Olly Betts
2021-Sep-13 01:44 UTC
Xapian::Termiterator is not working the way it used to with perl
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