You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mv...@apache.org on 2025/04/15 07:40:29 UTC

(lucene) 04/04: Extract logic the select leaves to merge from createOrdinalMapForSortedSetDV(...) to avoid passing around a list that gets mutated.

This is an automated email from the ASF dual-hosted git repository.

mvg pushed a commit to branch DocValuesConsumer_helpers
in repository https://gitbox.apache.org/repos/asf/lucene.git

commit 0459b5fa2a72c08dc3ecf4624019a3ecdd57c9a5
Author: Martijn van Groningen <ma...@gmail.com>
AuthorDate: Tue Apr 15 09:15:04 2025 +0200

    Extract logic the select leaves to merge from createOrdinalMapForSortedSetDV(...) to avoid passing around a list that gets mutated.
---
 lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java b/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
index 18b74b6bfb8..e70db7c4107 100644
--- a/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
+++ b/lucene/core/src/java/org/apache/lucene/codecs/DocValuesConsumer.java
@@ -902,7 +902,7 @@ public abstract class DocValuesConsumer implements Closeable {
 
   /**
    * Selects the sorted set doc values to merge.
-   * 
+   *
    * @lucene.experimental
    */
   protected static List<SortedSetDocValues> selectLeavesToMerge(