Roy Klein wrote:
So one thing I've been wondering:  Why do you need to do deletes from an
indexreader?

Is this not in the FAQ? It should be...

IndexWriter can only append documents to an index.

An IndexReader is required to, given a term, find the document number to mark deleted.

Also, in the current sources the cost of opening an IndexReader has been greatly reduced. Now the norms and the term index are read lazily, so that only a few tiny files are actually read when an IndexReader is opened, the rest are merely opened.

Doug

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to