Expert: returns the sequential sub readers that this reader is logically composed of. For example, IndexSearcher uses this API to drive searching by one sub reader at a time. If this reader is not composed of sequential child readers, it should return null. If this method returns an empty array, that means this reader is a null reader (for example a MultiReader that has no sub readers).

NOTE: You should not try using sub-readers returned by this method to make any changes (setNorm, deleteDocument, etc.). While this might succeed for one composite reader (like MultiReader), it will most likely lead to index corruption for other readers (like DirectoryReader obtained through {@link #open}. Use the parent reader directly.

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual IndexReader[] GetSequentialSubReaders()
Visual Basic
Public Overridable Function GetSequentialSubReaders As IndexReader()
Visual C++
public:
virtual array<IndexReader^>^ GetSequentialSubReaders()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Index.IndexReader.GetSequentialSubReaders"]

See Also