Re: Another question on sorting documents

2013-07-18 Thread Adrien Grand
Hi, On Thu, Jul 18, 2013 at 7:15 AM, Sriram Sankar wrote: > The approach we have discussed in an earlier thread uses: > > writer.addIndexes(new SortingAtomicReader(...)); > > I want to confirm (this is not absolutely clear to me yet) that the above > call will not create multiple segments - i.e.,

Another question on sorting documents

2013-07-17 Thread Sriram Sankar
The approach we have discussed in an earlier thread uses: writer.addIndexes(new SortingAtomicReader(...)); I want to confirm (this is not absolutely clear to me yet) that the above call will not create multiple segments - i.e., the output will be optimized. We are also trying another approach -