Will Crawford
2015-Feb-23 12:44 UTC
[Xapian-discuss] Perl bindings and MatchAll / MatchNone
I've just had a quick look at the XS, but I can't see quite how to make these (or just MatchAll, really) available through the Perl binding ... where should I start please?
On Mon, Feb 23, 2015 at 12:44:08PM +0000, Will Crawford wrote:> I've just had a quick look at the XS, but I can't see quite how to > make these (or just MatchAll, really) available through the Perl > binding ... where should I start please?They were added in 1.2.13.0, released just over 2 years ago. If you're using an older version, you can just use Search::Xapian::Query('') instead of MatchAll. Cheers, Olly
Will Crawford
2015-Feb-24 11:32 UTC
[Xapian-discuss] Perl bindings and MatchAll / MatchNone
On 23/02/15 20:23, Olly Betts wrote:> On Mon, Feb 23, 2015 at 12:44:08PM +0000, Will Crawford wrote: >> I've just had a quick look at the XS, but I can't see quite how to >> make these (or just MatchAll, really) available through the Perl >> binding ... where should I start please? > > They were added in 1.2.13.0, released just over 2 years ago. > > If you're using an older version, you can just use > Search::Xapian::Query('') instead of MatchAll. > > Cheers, > Olly >Oh! Sorry. I was looking in XS/Query.xs and didn't see them (didn't realise they were so simple, either!). Please could someone update the POD in Search::Xapian: "We don't yet wrap Xapian::Query::MatchAll, Xapian::Query::MatchNothing, or Xapian::BAD_VALUENO."