示例#1
0
        public override IndexPopulator GetPopulator(StoreIndexDescriptor descriptor, IndexSamplingConfig samplingConfig, ByteBufferFactory bufferFactory)
        {
            Dictionary <IndexSlot, IndexPopulator> populators = _providers.map(provider => provider.getPopulator(descriptor, samplingConfig, bufferFactory));

            return(new FusionIndexPopulator(_slotSelector, new InstanceSelector <IndexPopulator>(populators), descriptor.Id, _dropAction, _archiveFailedIndex));
        }