[Xapian-discuss] Behavior of WritableDatabase against an "add_database"

James Aylett james-xapian at tartarus.org
Sat Nov 4 14:15:19 GMT 2006


On Sat, Nov 04, 2006 at 10:46:06AM +0000, Olly Betts wrote:

> > This could be implemented in Xapian, but I'm not convinced it's the
> > right place, because the logic for how to segment documents would
> > still need to come in your code.
> 
> I think we could sanely implement a "round robin" system, such that
> we add a document to each database in turn.  That would at least
> share the load, even if it wasn't exactly balanced.

I'm still not convinced it's worth putting in core - we could write a
note on the wiki. Again, it's only a few lines of code, and in general
you really want to think about things in a little more detail...

J

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



More information about the Xapian-discuss mailing list