示例#1
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: ReadOnlyIndexPartition(java.io.File partitionFolder, org.apache.lucene.store.Directory directory) throws java.io.IOException
        internal ReadOnlyIndexPartition(File partitionFolder, Directory directory) : base(partitionFolder, directory)
        {
            this._searcherManager = new SearcherManager(directory, new SearcherFactory());
        }
示例#2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public WritableIndexPartition(java.io.File partitionFolder, org.apache.lucene.store.Directory directory, org.apache.lucene.index.IndexWriterConfig writerConfig) throws java.io.IOException
        public WritableIndexPartition(File partitionFolder, Directory directory, IndexWriterConfig writerConfig) : base(partitionFolder, directory)
        {
            this._indexWriter     = new IndexWriter(directory, writerConfig);
            this._searcherManager = new SearcherManager(_indexWriter, new SearcherFactory());
        }