config.getInt(StoreParams.PARAM_INDEX_SEGMENT_FILE_SIZE_MB,
StoreParams.INDEX_SEGMENT_FILE_SIZE_MB_DEFAULT);
double indexSegmentCompactFactor =
config.getDouble(StoreParams.PARAM_INDEX_SEGMENT_COMPACT_FACTOR,
config.getSegmentCompactFactor());
SegmentFactory indexSegmentFactory =
config.getClass(StoreParams.PARAM_INDEX_SEGMENT_FACTORY_CLASS, MemorySegmentFactory.class)
.asSubclass(SegmentFactory.class).newInstance();
StoreConfig indexConfig = new StoreConfig(_indexHome, indexInitialCapacity);
indexConfig.setBatchSize(config.getBatchSize());