Exemple #1
0
 private IIndex CreateMemberIndex()
 {
     return(new MemberElasticSearchIndex(Constants.UmbracoIndexes.MembersIndexName,
                                         ElasticSearchConfig.GetConfig(Constants.UmbracoIndexes.ExternalIndexName),
                                         _publicAccessService,
                                         ProfilingLogger,
                                         new UmbracoFieldDefinitionCollection(),
                                         "standard",
                                         GetMemberValueSetValidator()));
 }
Exemple #2
0
 private IIndex CreateInternalIndex()
 {
     return(new ContentElasticSearchIndex(Constants.UmbracoIndexes.InternalIndexName,
                                          ElasticSearchConfig.GetConfig(Constants.UmbracoIndexes.InternalIndexName),
                                          _publicAccessService,
                                          ProfilingLogger,
                                          new UmbracoFieldDefinitionCollection(),
                                          "whitespace",
                                          GetContentValueSetValidator()));
 }