Re: index sorting merge

2017-12-28 Thread Yonghui Zhao
Got it, thanks! my version is 4.10.4 which is tooo old 2017-12-29 5:31 GMT+08:00 Michael McCandless : > 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

Re: index sorting merge

2017-12-28 Thread Michael McCandless
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 wrote: > Hi, > > I specified a SortingMergePolicy in my case. I find only the first N-1 > segm

index sorting merge

2017-12-28 Thread Yonghui Zhao
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 !