[CORE] Remove leftover unused constants
This commit is contained in:
parent
2c6d31df36
commit
bbda203aef
|
@ -86,9 +86,6 @@ public class MapperService extends AbstractIndexComponent {
|
||||||
"_size", "_timestamp", "_ttl"
|
"_size", "_timestamp", "_ttl"
|
||||||
);
|
);
|
||||||
|
|
||||||
public static final String FIELD_MAPPERS_COLLECTION_SWITCH = "index.mapper.field_mappers_collection_switch";
|
|
||||||
public static final int DEFAULT_FIELD_MAPPERS_COLLECTION_SWITCH = 100;
|
|
||||||
|
|
||||||
private final AnalysisService analysisService;
|
private final AnalysisService analysisService;
|
||||||
private final IndexFieldDataService fieldDataService;
|
private final IndexFieldDataService fieldDataService;
|
||||||
|
|
||||||
|
|
|
@ -400,9 +400,6 @@ public final class InternalTestCluster extends TestCluster {
|
||||||
if (random.nextBoolean()) {
|
if (random.nextBoolean()) {
|
||||||
builder.put(MappingUpdatedAction.INDICES_MAPPING_ADDITIONAL_MAPPING_CHANGE_TIME, RandomInts.randomIntBetween(random, 0, 500) /*milliseconds*/);
|
builder.put(MappingUpdatedAction.INDICES_MAPPING_ADDITIONAL_MAPPING_CHANGE_TIME, RandomInts.randomIntBetween(random, 0, 500) /*milliseconds*/);
|
||||||
}
|
}
|
||||||
if (random.nextBoolean()) {
|
|
||||||
builder.put(MapperService.DEFAULT_FIELD_MAPPERS_COLLECTION_SWITCH, RandomInts.randomIntBetween(random, 0, 5));
|
|
||||||
}
|
|
||||||
|
|
||||||
return builder.build();
|
return builder.build();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue