public void InitializeIndex(string indexId) { Log.InfoFormat("Initializing index id {0}", indexId); // Re-register configuration keys in case a client haven't called RegisterConfigurationKeys prior to this method RegisterConfigurationKeys(indexId); lock (IndexesLock) { if (Indexes.ContainsKey(indexId)) { return; } var luceneIndexWrapper = new LuceneIndexWrapper(indexId); Composer.InitializePlugs(luceneIndexWrapper); Indexes[indexId] = luceneIndexWrapper; } }