You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by GitBox <gi...@apache.org> on 2022/02/04 19:13:39 UTC

[GitHub] [lucene] zhaih commented on a change in pull request #630: LUCENE-10371 Make IndexRearranger able to arrange segment in a determined order

zhaih commented on a change in pull request #630:
URL: https://github.com/apache/lucene/pull/630#discussion_r799744597



##########
File path: lucene/misc/src/java/org/apache/lucene/misc/index/IndexRearranger.java
##########
@@ -49,16 +53,40 @@
   protected final Directory input, output;
   protected final IndexWriterConfig config;
   protected final List<DocumentSelector> documentSelectors;
+  protected final boolean determinedOrder;
 
+  /**
+   * Constructor
+   *
+   * @param input input dir
+   * @param output output dir
+   * @param config index writer config
+   * @param documentSelectors specify what document is desired in the rearranged index segments,
+   *     each selector correspond to one segment
+   * @param determinedOrder make sure the rearranged index have the segment order aligned with the

Review comment:
       Makes sense, I removed this option!




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org