[Xapian-discuss] Read accesses through WritableDatabase are slow
James Aylett
james-xapian at tartarus.org
Mon Oct 23 16:21:52 BST 2006
On Mon, Oct 23, 2006 at 04:23:45PM +0200, Jean-Francois Dockes wrote:
> Things I've thought of to fix this:
> - I have a bogus document for the base file. I guess I could store a list
> of sub-documents docids in there, either as terms to be used with
> termlist_begin() or in the document data.
>
> - I could probably also separate the indexing into a discovery pass done
> with a readonly index, and an actual indexing pass.
Could you have a term generated from the containing document, shared
between all the subdocs? Then a simple search would pull them out.
J
--
/--------------------------------------------------------------------------\
James Aylett xapian.org
james at tartarus.org uncertaintydivision.org
More information about the Xapian-discuss
mailing list