Skip to content

Apache Lucene open-source search software

LUCENE-7763: Remove outdated comment in IndexWriterConfig.setIndexSort javadocs. (马可阳 via Christine Poerschke)

Christine Poerschke413555651da6
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index e0827e78e90..833fd3c9ef3 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -106,6 +106,11 @@ Bug Fixes
* LUCENE-7755: Fixed join queries to not reference IndexReaders, as it could
cause leaks if they are cached. (Adrien Grand)
+Other
+
+* LUCENE-7763: Remove outdated comment in IndexWriterConfig.setIndexSort javadocs.
+ (马可阳 via Christine Poerschke)
+
======================= Lucene 6.5.0 =======================
API Changes
diff --git a/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java b/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
index 1e1e795d50b..0fdbc3e8652 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
@@ -466,7 +466,7 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig {
SortField.Type.FLOAT);
/**
- * Set the {@link Sort} order to use when merging segments. Note that newly flushed segments will remain unsorted.
+ * Set the {@link Sort} order to use when merging segments.
*/
public IndexWriterConfig setIndexSort(Sort sort) {
for(SortField sortField : sort.getSort()) {