[Xapian-discuss] More than one Index?

James Aylett james-xapian at tartarus.org
Mon Jan 30 16:07:14 GMT 2006


On Mon, Jan 30, 2006 at 02:28:35PM +0000, John Wards wrote:

> > If you're worried about database sizes, you could drop positional data
> > unless you need it (phrase queries, for instance).
> 
> How do I do that then?

indexnopos instead of index in the scriptindex script.

> Here is a ls -al of my database dir
> 
> -rw-r--r--  1 root  wheel  259375104 Jan 28 18:49 position_DB

Positional data. This will disappear with indexnopos.

> -rw-r--r--  1 root  wheel  623452160 Jan 28 18:49 record_DB

record_DB is the fields, and it's coming out at about 1K per
document. Do you really need all 300 words? Presumably you have access
to the actual data, so you could avoid storing it in Xapian as well...

J

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



More information about the Xapian-discuss mailing list