[EMAIL PROTECTED] wrote:
Does this happen frequently? Like Stanislav has been asking... what sort of
operations on the index cause the document number to change for any given
document?
Documents are only re-numbered after there have been deletions. Once
there have been deletions, renumbering may
gt; - Original Message -
> From: "Vanlerberghe, Luc" <[EMAIL PROTECTED]>
> To: "Lucene Users List"
> Sent: Thursday, February 24, 2005 4:07 PM
> Subject: RE: Custom filters & document numbers
>
>
> > An IndexReader will always see
ot; <[EMAIL PROTECTED]>
To: "Lucene Users List"
Sent: Thursday, February 24, 2005 4:07 PM
Subject: RE: Custom filters & document numbers
> An IndexReader will always see the same set of documents.
> Even if another process deletes some documents, adds new ones or
> op
An IndexReader will always see the same set of documents.
Even if another process deletes some documents, adds new ones or
optimizes the complete index, your IndexReader instance will not see
those changes.
If you detect that the Lucene index changed (e.g. by calling
IndexReader.getCurrentVersion(