[Xapian-discuss] combining databases for omega

Olly Betts olly at survex.com
Mon Dec 31 04:44:04 GMT 2012


On Sun, Dec 30, 2012 at 06:24:48PM +0000, James Aylett wrote:
> The DB= bit is omega's support for multiple databases -- one at a time.

Actually, you can specify multiple DB parameters and they'll all be
searched together (so you can make it a multi-select in the search form
or similar if you want).

You can also specify several in a single DB parameter, separated by '/',
e.g.

DB=db1/db2/db3

You can only search databases which are in database_dir (and not in any
subdirectories), so this does *NOT* mean search the database in
"/var/lib/xapian-omega/data/db1/db2/db3".

You can use both multiple DB parameters and multiple databases in one
parameter together if you want.

Cheers,
    Olly



More information about the Xapian-discuss mailing list