File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
server/src/main/java/org/elasticsearch/index/codec/tsdb/es819 Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ public class ES819TSDBDocValuesFormat extends org.apache.lucene.codecs.DocValues
6666
6767 /**
6868 * These thresholds determine the size of a compressed binary block. We build a new block if the uncompressed data in the block
69- * is 128k , or if the number of values is 1024 . These values are a tradeoff between the high compression ratio and decompression
69+ * is 1MB , or if the number of values is 8192 . These values are a tradeoff between the high compression ratio and decompression
7070 * speed of large blocks, and the ability to avoid decompressing unneeded values provided by small blocks.
7171 */
72- public static final int BLOCK_BYTES_THRESHOLD = 128 * 1024 ;
73- public static final int BLOCK_COUNT_THRESHOLD = 1024 ;
72+ public static final int BLOCK_BYTES_THRESHOLD = 1024 * 1024 ;
73+ public static final int BLOCK_COUNT_THRESHOLD = 8192 ;
7474
7575 // number of documents in an interval
7676 static final int DEFAULT_SKIP_INDEX_INTERVAL_SIZE = 4096 ;
You can’t perform that action at this time.
0 commit comments