Constructor DirectoryReader
DirectoryReader(Directory, AtomicReader[])
Expert: Constructs a DirectoryReader on the given segmentReaders
.
Declaration
protected DirectoryReader(Directory directory, AtomicReader[] segmentReaders)
Parameters
Type | Name | Description |
---|---|---|
Directory | directory | |
AtomicReader[] | segmentReaders | the wrapped atomic index segment readers. This array is returned by GetSequentialSubReaders() and used to resolve the correct subreader for docID-based methods. Please note: this array is not cloned and not protected for modification outside of this reader. Subclasses of DirectoryReader should take care to not allow modification of this internal array, e.g. DoOpenIfChanged(). |
DirectoryReader(String, NCacheDirectory, Type)
Declaration
protected DirectoryReader(string objectUID, NCacheDirectory directory, Type instancetype)
Parameters
Type | Name | Description |
---|---|---|
System.String | objectUID | |
NCacheDirectory | directory | |
Type | instancetype |