[Xapian-discuss] large Xapian index files

Olly Betts olly at survex.com
Sun Aug 8 22:59:05 BST 2004


On Mon, Jul 19, 2004 at 03:04:49PM +0200, Robert Pollak wrote:
> According to <http://xapian.org/docs/scalability.html>, it seems that the
> quartz database filesize is limited only by the OS and file system. Can you
> confirm from your experience that there is no 2GB limit?

That's correct.

> (I have grepped for "size_t" and "off_t" in the xapian-core code, but I do 
> not know how to interpret what I see.)

We use the standard autoconf AC_SYS_LARGEFILE test to decide what (if
anything) needs to be done to enable support for files >= 2G on the
host system.  Having done this, off_t will be a 64 bit type (assuming
the host actually has large file support).

Cheers,
    Olly



More information about the Xapian-discuss mailing list