public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore) : this(name.Replace("_", "-").ToLower(), folder, propertyStore, (string)null) { this.settings = ContentSearchManager.Locator.GetInstance <Sitecore.ContentSearch.Abstractions.ISettings>(); this.factory = ContentSearchManager.Locator.GetInstance <Sitecore.Abstractions.IFactory>(); this.indexes = new Dictionary <string, ISearchIndex>(); AddIndex(this); }
public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore) : this(name.Replace("_", "-").ToLower(), folder, propertyStore, (string) null) { this.settings = ContentSearchManager.Locator.GetInstance<Sitecore.ContentSearch.Abstractions.ISettings>(); this.factory = ContentSearchManager.Locator.GetInstance<Sitecore.Abstractions.IFactory>(); this.indexes = new Dictionary<string, ISearchIndex>(); AddIndex(this); }
public AzureIndex(string name, string folder, IIndexPropertyStore propertyStore, string group) { Assert.ArgumentNotNullOrEmpty(name, "name"); Assert.ArgumentNotNullOrEmpty(folder, "folder"); Assert.ArgumentNotNull((object)propertyStore, "propertyStore"); Name = name.Replace("_", "-").ToLower(); //FolderName = folder; this.PropertyStore = propertyStore; this.settings = ContentSearchManager.Locator.GetInstance <Sitecore.ContentSearch.Abstractions.ISettings>(); this.factory = ContentSearchManager.Locator.GetInstance <Sitecore.Abstractions.IFactory>(); this.indexes = new Dictionary <string, ISearchIndex>(); AddIndex(this); }
public AzureIndex(string name, IIndexPropertyStore propertyStore) { Assert.ArgumentNotNullOrEmpty(name, "name"); Assert.ArgumentNotNull((object)propertyStore, "propertyStore"); Name = name.Replace("_", "-").ToLower(); this.PropertyStore = propertyStore; this.settings = ContentSearchManager.Locator.GetInstance<Sitecore.ContentSearch.Abstractions.ISettings>(); this.factory = ContentSearchManager.Locator.GetInstance<Sitecore.Abstractions.IFactory>(); this.indexes = new Dictionary<string, ISearchIndex>(); this.Summary = new AzureIndexSummary(this); this.Schema = new AzureIndexSchema(this); AddIndex(this); }
public ElasticSearchIndex(string name, IIndexPropertyStore propertyStore) { Assert.ArgumentNotNull(name, "name"); Name = name; Crawlers = new List <IProviderCrawler>(); Strategies = new List <IIndexUpdateStrategy>(); PropertyStore = propertyStore; //Summary property needs to be set in the constructor. //Don't set it in the Initialize method, as that method isn't called every time an index is instantiated. Summary = new ElasticSearchIndexSummary(this, Client); }
public AlgoliaSearchIndexSummary( IAlgoliaRepository repository, IIndexPropertyStore propertyStore) { if (repository == null) { throw new ArgumentNullException(nameof(repository)); } if (propertyStore == null) { throw new ArgumentNullException(nameof(propertyStore)); } _repository = repository; _propertyStore = propertyStore; }
public SpatialLuceneIndex(string name, string folder, IIndexPropertyStore propertyStore) : base(name, folder, propertyStore) { }
public SolrSearchIndexWithSpatial(string name, string core, IIndexPropertyStore propertyStore, string @group) : base(name, core, propertyStore, @group) { }
public SSSolrSearchIndex(string name, string core, IIndexPropertyStore propertyStore) : base(name, core, propertyStore) { }
public SwitchOnRebuildLuceneIndexWithSpatial(string name, string folder, IIndexPropertyStore propertyStore) : base(name, folder, propertyStore) { }
/// <inheritdoc /> /// <summary> /// Initializes a new instance of the <see cref="T:Sitecore.Foundation.CloudSpatialSearch.IndexRead.Core.Provider.AzureSearchIndexWithSpatial" /> class. /// </summary> /// <param name="name"> /// The name. /// </param> /// <param name="connectionStringName"> /// The connection string name. /// </param> /// <param name="totalParallelServices"> /// The total parallel services. /// </param> /// <param name="propertyStore"> /// The property store. /// </param> public AzureSearchIndexWithSpatial(string name, string connectionStringName, string totalParallelServices, IIndexPropertyStore propertyStore) : this(name, connectionStringName, totalParallelServices, propertyStore, null) { }
public SpatialLuceneIndex(string name, string folder, IIndexPropertyStore propertyStore): base(name, folder, propertyStore) { }
public CustomSwitchOnRebuildSolrSearchIndex(string name, string core, string rebuildcore, IIndexPropertyStore propertyStore) : base(name, core, rebuildcore, propertyStore) { }
public CloudSearchProviderSuggestionIndex(string name, string connectionStringName, string totalParallelServices, IIndexPropertyStore propertyStore) : base(name, connectionStringName, totalParallelServices, propertyStore) { ConnectionStringName = connectionStringName; indexNameProvider = new CloudSearchProviderIndexName(ServiceCollectionClient.GetInstance <IFactoryWrapper>());// ServiceCollectionClient.GetInstance<ICloudSearchProviderIndexName>(Array.Empty<object>()); _settings = ServiceCollectionClient.GetInstance <Settings>(); }
public SwitchOnRebuildSolrSearchIndexWithSpatial(string name, string core, string rebuildcore, IIndexPropertyStore propertyStore) : base(name, core, rebuildcore, propertyStore) { }
public SolrSearchIndex(string name, string core, IIndexPropertyStore propertyStore, string @group) : base(name, core, propertyStore, group) { }
/// <summary> /// Initializes a new instance of the <see cref="AzureSearchIndexWithSpatial"/> class. /// </summary> /// <param name="name"> /// The name. /// </param> /// <param name="connectionStringName"> /// The connection string name. /// </param> /// <param name="totalParallelServices"> /// The total parallel services. /// </param> /// <param name="propertyStore"> /// The property store. /// </param> /// <param name="group"> /// The group. /// </param> public AzureSearchIndexWithSpatial(string name, string connectionStringName, string totalParallelServices, IIndexPropertyStore propertyStore, string group) : base(name, connectionStringName, totalParallelServices, propertyStore, group) { }
public LucinqIndex(string name, string folder, IIndexPropertyStore propertyStore, string rootPaths) : base(name, folder, propertyStore) { SetRootPaths(rootPaths); }