//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private void setupIndexInfrastructure() throws Exception private void SetupIndexInfrastructure() { DatabaseLayout databaseLayout = _testDirectory.databaseLayout(); _indexStore = new IndexConfigStore(databaseLayout, _fileSystemRule.get()); _indexStore.set(typeof(Node), INDEX_NAME, MapUtil.stringMap(Org.Neo4j.Graphdb.index.IndexManager_Fields.PROVIDER, "lucene", "type", "fulltext")); LuceneDataSource luceneDataSource = new LuceneDataSource(databaseLayout, Config.defaults(), _indexStore, _fileSystemRule.get(), OperationalMode.single); try { luceneDataSource.Init(); luceneDataSource.GetIndexSearcher(_indexIdentifier); } finally { luceneDataSource.Shutdown(); } }
private void SetupIndexInfrastructure() { _indexStore = new IndexConfigStore(_testDirectory.databaseLayout(), _fileSystemRule.get()); _indexStore.set(typeof(Node), INDEX_NAME, MapUtil.stringMap(Org.Neo4j.Graphdb.index.IndexManager_Fields.PROVIDER, "lucene", "type", "fulltext")); }