Thanks for noticing and reporting this. I committed a fix under https://issues.apache.org/jira/browse/LUCENE-7763 ticket.
Christine From: dev@lucene.apache.org At: 03/31/17 14:27:33 To: dev@lucene.apache.org Subject: Re:code comment out of date: Note that newly flushed segments will remain unsorted It is comment of method : setIndexSort in IndexWriterConfig.java. Code link is below: https://github.com/apache/lucene-solr/blob/master/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java since issue “LUCENE-7579: sort segments at flush too” is already merged into code, this comment is out of date. 马可阳 京东 【基础平台|中间件|JSF】 ===================================== 服务构建 jsf.jd.com