|
|
Noble Paul ààààààâ àààààà wrote:
is it reasonable to assume that the generation of a commit point is
always '1' when an empty index is opened?
It depends what "empty index" means.
EG I can make a new index, add docs, do lots of commits, etc., then
open a new IndexWriter with create=true on that same Directory. At
that point I have an "empty index" (no docs), but its generation is > 1.
Or if by empty index you mean zero files in the Directory, then when
I make an IndexWriter w/ create=true and immediately close it, then
generation will always be 1.
Mike
---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx
|
|