Hi Christine, On Wed, Aug 5, 2015 at 11:42 PM, Christine Poerschke (BLOOMBERG/ LONDON) <[email protected]> wrote: > Locally changed createRandomIndex to add not the 1 but 2 documents before the > forceMerge. Still ends up with an unsorted segment:
Did you ensure that there is a reopen between these two documents are added, so that we not only have 2 docs but also 2 segments? This can be done eg. by calling iw.getReader().close(); on the RandomIndexWriter. -- Adrien --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
