[CORE] Remove leftover unused constants

This commit is contained in:
Simon Willnauer 2014-10-14 10:45:45 +02:00
parent 2c6d31df36
commit bbda203aef
2 changed files with 0 additions and 6 deletions

View File

@ -86,9 +86,6 @@ public class MapperService extends AbstractIndexComponent {
"_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 IndexFieldDataService fieldDataService;

View File

@ -400,9 +400,6 @@ public final class InternalTestCluster extends TestCluster {
if (random.nextBoolean()) {
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();
}