[Xapian-discuss] Node.js binding

Richard Boulton richard at tartarus.org
Tue Nov 8 12:00:48 GMT 2011


On 7 November 2011 20:25, Liam <xapian at networkimprov.net> wrote:
> So then I'd assume that TermGenerator::index_text(), and its siblings also
> don't do I/O, is that correct?

I believe that is incorrect.  In particular, index_text() may cause
words to be added to the table of words used for spelling correction.

As we've tried to say before, relying on particular methods of the
Xapian API not performing IO, or performing long-running computations,
is going to be fragile, since that's not part of the API guarantees,
and may change between releases.

-- 
Richard



More information about the Xapian-discuss mailing list