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 1313import org .apache .lucene .codecs .DocValuesProducer ;
1414import org .apache .lucene .index .SegmentReadState ;
1515import org .apache .lucene .index .SegmentWriteState ;
16- import org .elasticsearch .common .util .FeatureFlag ;
1716
1817import java .io .IOException ;
1918
@@ -59,14 +58,10 @@ public class ES819TSDBDocValuesFormat extends org.apache.lucene.codecs.DocValues
5958
6059 // Default for escape hatch:
6160 static final boolean OPTIMIZED_MERGE_ENABLE_DEFAULT ;
62- static final FeatureFlag TSDB_DOC_VALUES_OPTIMIZED_MERGE = new FeatureFlag ("tsdb_doc_values_optimized_merge" );
6361 static final String OPTIMIZED_MERGE_ENABLED_NAME = ES819TSDBDocValuesConsumer .class .getName () + ".enableOptimizedMerge" ;
6462
6563 static {
66- boolean optimizedMergeDefault = TSDB_DOC_VALUES_OPTIMIZED_MERGE .isEnabled ();
67- OPTIMIZED_MERGE_ENABLE_DEFAULT = Boolean .parseBoolean (
68- System .getProperty (OPTIMIZED_MERGE_ENABLED_NAME , Boolean .toString (optimizedMergeDefault ))
69- );
64+ OPTIMIZED_MERGE_ENABLE_DEFAULT = Boolean .parseBoolean (System .getProperty (OPTIMIZED_MERGE_ENABLED_NAME , Boolean .TRUE .toString ()));
7065 }
7166
7267 private final boolean enableOptimizedMerge ;
You can’t perform that action at this time.
0 commit comments