GetSequentialSubReaders() публичный Метод

public GetSequentialSubReaders ( ) : Lucene.Net.Index.IndexReader[]
Результат Lucene.Net.Index.IndexReader[]
Пример #1
0
 /// <summary>
 /// Create a new <see cref="FilterDirectoryReader"/> that filters a passed in <see cref="DirectoryReader"/>,
 /// using the supplied <see cref="SubReaderWrapper"/> to wrap its subreader. </summary>
 /// <param name="input"> the <see cref="DirectoryReader"/> to filter </param>
 /// <param name="wrapper"> the <see cref="SubReaderWrapper"/> to use to wrap subreaders </param>
 public FilterDirectoryReader(DirectoryReader input, SubReaderWrapper wrapper)
     : base(input.Directory, wrapper.Wrap(input.GetSequentialSubReaders().OfType <AtomicReader>().ToList()))
 {
     this.m_input = input;
 }
Пример #2
0
 /// <summary>
 /// Create a new FilterDirectoryReader that filters a passed in DirectoryReader,
 /// using the supplied SubReaderWrapper to wrap its subreader. </summary>
 /// <param name="in"> the DirectoryReader to filter </param>
 /// <param name="wrapper"> the SubReaderWrapper to use to wrap subreaders </param>
 public FilterDirectoryReader(DirectoryReader @in, SubReaderWrapper wrapper)
     : base(@in.Directory(), wrapper.Wrap(@in.GetSequentialSubReaders().OfType <AtomicReader>().ToList()))
 {
     this.@in = @in;
 }
Пример #3
0
 /// <summary>
 /// Create a new <see cref="FilterDirectoryReader"/> that filters a passed in <see cref="DirectoryReader"/>,
 /// using the supplied <see cref="SubReaderWrapper"/> to wrap its subreader. </summary>
 /// <param name="input"> the <see cref="DirectoryReader"/> to filter </param>
 /// <param name="wrapper"> the <see cref="SubReaderWrapper"/> to use to wrap subreaders </param>
 public FilterDirectoryReader(DirectoryReader input, SubReaderWrapper wrapper)
     : base(input.Directory, wrapper.Wrap(input.GetSequentialSubReaders()))
 {
     this.m_input = input;
 }
Пример #4
0
 /// <summary>
 /// Create a new FilterDirectoryReader that filters a passed in DirectoryReader,
 /// using the supplied SubReaderWrapper to wrap its subreader. </summary>
 /// <param name="in"> the DirectoryReader to filter </param>
 /// <param name="wrapper"> the SubReaderWrapper to use to wrap subreaders </param>
 public FilterDirectoryReader(DirectoryReader @in, SubReaderWrapper wrapper)
     : base(@in.Directory(), wrapper.Wrap(@in.GetSequentialSubReaders().OfType<AtomicReader>().ToList()))
 {
     this.@in = @in;
 }
Пример #5
0
 /// <summary>
 /// Create a new <see cref="FilterDirectoryReader"/> that filters a passed in <see cref="DirectoryReader"/>,
 /// using the supplied <see cref="SubReaderWrapper"/> to wrap its subreader. </summary>
 /// <param name="input"> the <see cref="DirectoryReader"/> to filter </param>
 /// <param name="wrapper"> the <see cref="SubReaderWrapper"/> to use to wrap subreaders </param>
 protected FilterDirectoryReader(DirectoryReader input, SubReaderWrapper wrapper) // LUCENENET: CA1012: Abstract types should not have constructors (marked protected)
     : base(input.Directory, wrapper.Wrap(input.GetSequentialSubReaders()))
 {
     this.m_input = input;
 }