public ElasticSearchOutputConfiguration()
 {
     NumberOfShards   = DefaultNumberOfShards;
     NumberOfReplicas = DefaultNumberOfReplicas;
     RefreshInterval  = DefaultRefreshInterval;
     Mappings         = new ElasticSearchMappingsConfiguration();
 }
示例#2
0
        internal ElasticSearchMappingsConfiguration DeepClone()
        {
            var other = new ElasticSearchMappingsConfiguration();

            foreach (var item in this.Properties)
            {
                other.Properties.Add(item.Key, item.Value.DeepClone());
            }

            return(other);
        }