Got it, thanks! my version is 4.10.4 which is tooooooo old 2017-12-29 5:31 GMT+08:00 Michael McCandless <luc...@mikemccandless.com>:
> You should upgrade to newer versions of Lucene, where all segments are > sorted, not just merged segments. > > Mike McCandless > > http://blog.mikemccandless.com > > On Thu, Dec 28, 2017 at 11:13 AM, Yonghui Zhao <zhaoyong...@gmail.com> > wrote: > >> Hi, >> >> I specified a SortingMergePolicy in my case. I find only the first N-1 >> segments are sorted as expected, the last segment is still disordered >> when >> I call forceMerge(N), N > 1, >> >> I think it is by design, but is there any way to make all segments sorted. >> >> Thanks ! >> > >