[Xapian-discuss] Node.js binding

Liam xapian at networkimprov.net
Sun Oct 30 01:15:58 BST 2011


On Sat, Oct 29, 2011 at 3:42 PM, Richard Boulton <richard at tartarus.org>wrote:

> On 29 October 2011 21:49, Liam <xapian at networkimprov.net> wrote:
> > It would help to know whether Xapian::Document composition methods (e.g.
> > add_term, add_value) do I/O for a new Document, one not yet added to a
> > WritableDatabase. I'm guessing they may write to a temporary store?
>
> They don't write to a temporary store, and won't do I/O; if you have a
> document large enough that it won't fit in memory, you're almost
> certainly doing something wrong.
>

Aha... so they don't do I/O for a Document retrieved with a get_document()
call either, I assume?

And how about TermGenerator::index_text() and its brethren?


More information about the Xapian-discuss mailing list