On Sat, Aug 6, 2011 at 2:47 PM, eks dev <eks...@yahoo.co.uk> wrote: > Assuming there are no deletes, would the following work as a way to load > *last added document*, surviving optimize as well? > Order of documentId-s in Lucene survives optimize as far as I remember?
No longer... the default merge policy can now merge non-contiguous segments. You can of course still select a Log* merge policy, which never reorders ids with respect to each other. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org