As far as I know, no changes are visible to an already-opened reader
so for the life of that reader document IDs are unchanged.

Erick

On 5/28/07, Carlos Pita <[EMAIL PROTECTED]> wrote:

Hi again,

On 5/24/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:

> Currently, a deleted doc is removed when the segment containing it is
> involved in a segment  merge.  A merge could be triggered on any
> addDocument(), making it difficult to incrementally update anything.


sorry but is the document id renumbering caused by a merge visible from an
opened reader? Or can I assume that document ids are kept the same while
my
searcher is opened, disregarding how many updates or optimizations
happened
after its opening? This way I could regenerate my extra in-memory data
structures indexed by document id just when the searcher is reopened (say,
every 1000 updates) instead of after each update.

Thank you in advance.
Cheers,
Carlos

Reply via email to