Пример #1
0
        public virtual CreateIndexDescriptor ConfigureDescriptor(CreateIndexDescriptor idx)
        {
            idx.AddAlias(Name);

            foreach (var t in IndexTypes)
            {
                t.Configure(idx);
            }

            return(idx);
        }
Пример #2
0
 public override void ContributeCore(CreateIndexDescriptor descriptor, IElasticClient client)
 {
     descriptor.AddAlias(_aliasName, AddAliasCore);
 }
 public override void ContributeCore(CreateIndexDescriptor descriptor, IElasticClient client)
 {
     descriptor.AddAlias(_aliasName, AddAliasCore);
 }