You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@lucene.apache.org by Cam Bazz <ca...@gmail.com> on 2008/01/31 16:43:53 UTC

document Id question, again

Hello;

If no document is ever deleted nor updated from an index, will the document
id change? under which circumstances will the document ids change, apart
from delete?

Best Regards,
-C.B.

Re: document Id question, again

Posted by Michael McCandless <lu...@mikemccandless.com>.
DocIDs change whenever segments that had deletes pending, get merged.

So if you have no deletions, docIDs won't ever change.

Mike

Cam Bazz wrote:

> Hello;
>
> If no document is ever deleted nor updated from an index, will the  
> document
> id change? under which circumstances will the document ids change,  
> apart
> from delete?
>
> Best Regards,
> -C.B.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org