[Xapian-discuss] add_database for WritableDatabases

Thomas Viehmann tv at beamnet.de
Mon Nov 26 20:43:08 GMT 2007


Hi,

I'm trying to adapt the gmane indexer and variant of omega (thankfully
made available by GMANE) to search through a set of ~3M messages in all
sorts of languages. A couple of questions I could readily find answers to.

Does a WritableDatabase with several DBs added have defined/stable
semantics as to where documents are stored upon replace_document?
I would want to be able to re-index parts of the archive and to replace
messages.
Or is it preferable to have some sort of external partition of what is
in which DB?

Also, is there a way (short of patching but configuration rather than
passing parameters) to make omega search through multiple databases?

Finally, is there a simple good way of searching a database with
documents stemmed in different languages? The two naive ideas I could
come up with is split the index into databases by language or search
with something like
  OR_{lang in languages} (queriy_stemmed_for_lang AND LANG=lang)...

Kind regards

Thomas
-- 
Thomas Viehmann, http://thomas.viehmann.net/




More information about the Xapian-discuss mailing list