File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
server/src/main/java/org/elasticsearch/index/codec/tsdb/es819 Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change 13
13
import org .apache .lucene .codecs .DocValuesProducer ;
14
14
import org .apache .lucene .index .SegmentReadState ;
15
15
import org .apache .lucene .index .SegmentWriteState ;
16
- import org .elasticsearch .common .util .FeatureFlag ;
17
16
18
17
import java .io .IOException ;
19
18
@@ -91,14 +90,10 @@ public class ES819TSDBDocValuesFormat extends org.apache.lucene.codecs.DocValues
91
90
92
91
// Default for escape hatch:
93
92
static final boolean OPTIMIZED_MERGE_ENABLE_DEFAULT ;
94
- static final FeatureFlag TSDB_DOC_VALUES_OPTIMIZED_MERGE = new FeatureFlag ("tsdb_doc_values_optimized_merge" );
95
93
static final String OPTIMIZED_MERGE_ENABLED_NAME = ES819TSDBDocValuesConsumer .class .getName () + ".enableOptimizedMerge" ;
96
94
97
95
static {
98
- boolean optimizedMergeDefault = TSDB_DOC_VALUES_OPTIMIZED_MERGE .isEnabled ();
99
- OPTIMIZED_MERGE_ENABLE_DEFAULT = Boolean .parseBoolean (
100
- System .getProperty (OPTIMIZED_MERGE_ENABLED_NAME , Boolean .toString (optimizedMergeDefault ))
101
- );
96
+ OPTIMIZED_MERGE_ENABLE_DEFAULT = Boolean .parseBoolean (System .getProperty (OPTIMIZED_MERGE_ENABLED_NAME , Boolean .TRUE .toString ()));
102
97
}
103
98
104
99
final int skipIndexIntervalSize ;
You can’t perform that action at this time.
0 commit comments