Example #1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected org.neo4j.graphdb.ResourceIterator<java.io.File> makeSnapshot() throws java.io.IOException
        protected internal virtual ResourceIterator <File> MakeSnapshot()
        {
            return(LuceneIndexSnapshots.ForIndex(IndexDir, Dir));
        }
Example #2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: protected org.neo4j.graphdb.ResourceIterator<java.io.File> makeSnapshot() throws java.io.IOException
        protected internal override ResourceIterator <File> MakeSnapshot()
        {
            _indexWriter = new IndexWriter(Dir, IndexWriterConfigs.standard());
            return(LuceneIndexSnapshots.ForIndex(IndexDir, _indexWriter));
        }