I am running Xapian 1.0.0. and have XAPIAN_FLUSH_THRESHOLD environmental variable set to 10 million of documents. XAPIAN_FLUSH_THRESHOLD=10000000 Xapian1.0.0 does not seems to respond to XAPIAN_FLUSH_THRESHOLD size set and not using more memory which causing slow indexing. -- Cheers, Kevin