You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2017/12/04 17:48:50 UTC

[06/50] lucene-solr:jira/solr-11458-2: improve javadocs for index sort

improve javadocs for index sort


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9b85b572
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9b85b572
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9b85b572

Branch: refs/heads/jira/solr-11458-2
Commit: 9b85b5721abe3a606606a84d97c7d7b6e81be2e1
Parents: 726ee05
Author: Mike McCandless <mi...@apache.org>
Authored: Wed Nov 22 18:01:18 2017 -0500
Committer: Mike McCandless <mi...@apache.org>
Committed: Wed Nov 22 18:01:18 2017 -0500

----------------------------------------------------------------------
 .../core/src/java/org/apache/lucene/index/IndexWriterConfig.java  | 2 +-
 .../src/java/org/apache/lucene/index/LiveIndexWriterConfig.java   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9b85b572/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
----------------------------------------------------------------------
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 1377a95..6e96322 100644
--- a/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
+++ b/lucene/core/src/java/org/apache/lucene/index/IndexWriterConfig.java
@@ -459,7 +459,7 @@ public final class IndexWriterConfig extends LiveIndexWriterConfig {
                                                                                      SortField.Type.FLOAT);
 
   /**
-   * Set the {@link Sort} order to use when merging segments.
+   * Set the {@link Sort} order to use for all (flushed and merged) segments.
    */
   public IndexWriterConfig setIndexSort(Sort sort) {
     for(SortField sortField : sort.getSort()) {

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9b85b572/lucene/core/src/java/org/apache/lucene/index/LiveIndexWriterConfig.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/LiveIndexWriterConfig.java b/lucene/core/src/java/org/apache/lucene/index/LiveIndexWriterConfig.java
index cff1074..b67d26b 100644
--- a/lucene/core/src/java/org/apache/lucene/index/LiveIndexWriterConfig.java
+++ b/lucene/core/src/java/org/apache/lucene/index/LiveIndexWriterConfig.java
@@ -413,8 +413,7 @@ public class LiveIndexWriterConfig {
   }
 
   /**
-   * Set the index-time {@link Sort} order. Merged segments will be written
-   * in this order.
+   * Get the index-time {@link Sort} order, applied to all (flushed and merged) segments.
    */
   public Sort getIndexSort() {
     return indexSort;