Пример #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: private void createEmptySchemaIndex(org.neo4j.kernel.api.impl.index.storage.DirectoryFactory directoryFactory) throws java.io.IOException
        private void CreateEmptySchemaIndex(DirectoryFactory directoryFactory)
        {
            Config config = Config.defaults();
            LuceneIndexProvider indexProvider  = GetLuceneIndexProvider(config, directoryFactory, _fileSystem, _graphDbDir);
            IndexAccessor       onlineAccessor = GetIndexAccessor(config, indexProvider);

            onlineAccessor.Dispose();
        }
 public override void Close()
 {
     _accessor.Dispose();
 }