Skip to content

Commit 1a746b1

Browse files
author
elasticsearchmachine
committed
[CI] Auto commit changes from spotless
1 parent affa352 commit 1a746b1

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

server/src/main/java/org/elasticsearch/index/codec/tsdb/ES87TSDBDocValuesConsumer.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@
4949
import java.util.Arrays;
5050
import java.util.List;
5151

52-
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.BULK_MERGE_ENABLED;
5352
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.DIRECT_MONOTONIC_BLOCK_SHIFT;
5453
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.OPTIMIZED_MERGE_ENABLED;
5554
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.SKIP_INDEX_LEVEL_SHIFT;
@@ -687,10 +686,7 @@ public void mergeSortedNumericField(FieldInfo mergeFieldInfo, MergeState mergeSt
687686
meta.writeInt(sumNumDocsWithField);
688687
}
689688

690-
private static SortedNumericDocValues mergeNumericValues(
691-
List<NumericDocValuesSub> subs,
692-
boolean indexIsSorted
693-
) throws IOException {
689+
private static SortedNumericDocValues mergeNumericValues(List<NumericDocValuesSub> subs, boolean indexIsSorted) throws IOException {
694690
long cost = 0;
695691
for (NumericDocValuesSub sub : subs) {
696692
cost += sub.values.cost();

server/src/main/java/org/elasticsearch/index/codec/tsdb/ES87TSDBDocValuesFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public class ES87TSDBDocValuesFormat extends org.apache.lucene.codecs.DocValuesF
9191
System.getProperty(OPTIMIZED_MERGE_ENABLED_NAME, Boolean.toString(optimizedMergeDefault))
9292
);
9393
boolean bulkMergeDefault = TSDB_DOC_VALUES_BULK_MERGE.isEnabled();
94-
// BULK_MERGE_ENABLED = Boolean.parseBoolean(System.getProperty(BULK_MERGE_ENABLED_NAME, Boolean.toString(bulkMergeDefault)));
94+
// BULK_MERGE_ENABLED = Boolean.parseBoolean(System.getProperty(BULK_MERGE_ENABLED_NAME, Boolean.toString(bulkMergeDefault)));
9595
BULK_MERGE_ENABLED = false;
9696
}
9797

server/src/main/java/org/elasticsearch/index/codec/tsdb/ES87TSDBDocValuesProducer.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,10 @@
4444
import org.apache.lucene.util.packed.PackedInts;
4545
import org.elasticsearch.core.IOUtils;
4646

47-
import java.io.DataOutput;
4847
import java.io.IOException;
49-
import java.io.UnsupportedEncodingException;
5048
import java.util.HashMap;
5149
import java.util.Map;
5250

53-
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.NUMERIC_BLOCK_SIZE;
5451
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.SKIP_INDEX_JUMP_LENGTH_PER_LEVEL;
5552
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.SKIP_INDEX_MAX_LEVEL;
5653
import static org.elasticsearch.index.codec.tsdb.ES87TSDBDocValuesFormat.TERMS_DICT_BLOCK_LZ4_SHIFT;

0 commit comments

Comments
 (0)