[Xapian-devel] Replace atoi and atol with strtol strtoul:Need Help

James Aylett james-xapian at tartarus.org
Fri Dec 19 00:16:21 GMT 2014


On 18 Dec 2014, at 22:55, Olly Betts <olly at survex.com> wrote:

>> Second Implementation is in collapsing (301)  in which we collapse set of
>> document under a key,range of this key has not been defined anywhere so we
>> can increase the size of the key over here to accumulate more key's ?
> 
> It's the range of Xapian::valueno in the C++ API - if you look in
> xapian-core/include/xapian/types.h you can see it's an unsigned int.

Our documentation says it’s 32 bit unsigned, which isn’t even always containable in unsigned int (according to TC3). So our documentation needs some attention… (it’s in getting started).

J

-- 
 James Aylett, occasional trouble-maker
 xapian.org




More information about the Xapian-devel mailing list