[Xapian-discuss] Term-Flags

James Aylett james-xapian at tartarus.org
Sat Dec 29 19:43:24 GMT 2007


On Sat, Dec 29, 2007 at 08:30:21PM +0100, double wrote:

> InvalidOperationError: WritableDatabase needs exactly one subdatabase

You don't seem to be setting a database for the term generator to work
on:

----------------------------------------------------------------------
	term_generator.set_database(database);
----------------------------------------------------------------------

It needs this only when indexing spelling data as well as doing term
generation.

The error here is a little confusing, though :-(

J

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



More information about the Xapian-discuss mailing list