[Xapian-discuss] Indexing more than 15 billion documents

James Aylett james-xapian at tartarus.org
Mon Jun 18 09:04:16 BST 2007


On Mon, Jun 18, 2007 at 04:11:54AM +0100, Olly Betts wrote:

> > In particular, there is currently a limit of 4 billion documents in a 
> > database, due to using a 32 bit type for document IDs, but I don't think 
> > it would be particularly hard to change to using a 64 bit type here (the 
> > database format might require an incompatible change, but this could be 
> > managed).
> 
> The code was written with the intention that you should just be able to
> increase the sizes of the types and recompile, but that's not actually
> ever been tested to my knowledge.

I tested it years ago, and it didn't work. Whether that's still true I
have no idea - it didn't compile before, so it's obvious if there's
something wrong.

J

-- 
/--------------------------------------------------------------------------\
  James Aylett                                                  xapian.org
  james at tartarus.org                               uncertaintydivision.org



More information about the Xapian-discuss mailing list