[Xapian-discuss] Re: strange problem with number value range in 1.0.4

Adam Sjøgren asjo at koldfront.dk
Thu Dec 20 17:33:39 GMT 2007


On Thu, 20 Dec 2007 16:36:02 +0000, Olly wrote:

> On Thu, Dec 20, 2007 at 03:56:43PM +0100, Adam Sjøgren wrote:

>> Is Xapian::sortable_serialise() wrapped in Search::Xapian?

> Not currently I'm afraid.

Ok - I couldn't quite figure out where it would go, by my patented
monkey-see - monkey-copy method.

>> It didn't seem so when I tried it just now (1.0.4.0-2 from Debian
>> unstable)

> Odd, Debian only seems to have -1 currently:

Ah - I accidentally bumped the packaging number to -2 when I built a
local backport to Ubuntu gutsy; I should have said 1.0.4.0-1, sorry.

> Perhaps you're using a privately updated package?  But these issues
> affect vanilla 1.0.4.0 anyway.

Yes - the only thing I updated was the debian/changelog (so we can
easily distinguish locally built packages).

> StringVRP really ought to support a prefix/suffix like NumberVRP does.
> There's already a wishlist bug for adding this feature to DateVRP, so
> I've updated that to cover StringVRP too:

> http://www.xapian.org/cgi-bin/bugzilla/show_bug.cgi?id=220

Cool.

>> Should I try figuring out how to wrap sortable_serialise, or should I
>> try to provide a patch for StringVRP that adds the str and prefix
>> arguments, similar to NumberVRP?

> Patches for either or both would certainly be welcome.  I'm currently
> busy trying to get a 1.0.5 release together.

My C is rusty and my C++ has never really been shining, but I will see
if I can find time to have a go at the latter tomorrow; I think we need
it for our app, so I am motivated :-)


  Best regards,

    Adam

-- 
 "But they are all following you!                             Adam Sjøgren
  No, they ain't, I'm just in front"                     asjo at koldfront.dk




More information about the Xapian-discuss mailing list