Class MultiReader
An IndexReader which reads multiple indexes, appending their content.
Inherited Members
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public class MultiReader : IndexReader, IDisposable, ICloneable
Constructors
Name | Description |
---|---|
MultiReader(IndexReader[]) | Construct a MultiReader aggregating the named set of (sub)readers. Directory locking for delete, undeleteAll, and setNorm operations is left to the subreaders.
Note that all subreaders are closed if this Multireader is closed.
|
MultiReader(IndexReader[], Boolean) | Construct a MultiReader aggregating the named set of (sub)readers. Directory locking for delete, undeleteAll, and setNorm operations is left to the subreaders.
|
Fields
Name | Description |
---|---|
subReaders |
Properties
Name | Description |
---|---|
HasDeletions | |
MaxDoc | |
Version | Not implemented. |
Methods
Name | Description |
---|---|
Clone() | Clones the subreaders.
(see Clone()).
If subreaders are shared, then the reference count of those readers is increased to ensure that the subreaders remain open until the last referring reader is closed. |
DocFreq(Term) | |
DoClose() | |
DoCommit(Collections.Generic.IDictionary<String, String>) | |
Document(Int32, FieldSelector) | |
DoDelete(Int32) | |
DoReopen(Boolean) | If clone is true then we clone each of the subreaders |
DoSetNorm(Int32, String, Byte) | |
DoUndeleteAll() | |
GetFieldNames(IndexReader.FieldOption) | |
GetSequentialSubReaders() | |
GetTermFreqVector(Int32, TermVectorMapper) | |
GetTermFreqVector(Int32, String) | |
GetTermFreqVector(Int32, String, TermVectorMapper) | |
GetTermFreqVectors(Int32) | |
HasNorms(String) | |
IsCurrent() | Checks recursively if all subreaders are up to date. |
IsDeleted(Int32) | |
IsOptimized() | |
Norms(String) | |
Norms(String, Byte[], Int32) | |
NumDocs() | |
Reopen() | Tries to reopen the subreaders.
A re-opened instance might share one or more subreaders with the old instance. Index modification operations result in undefined behavior when performed before the old instance is closed. (see Reopen()). If subreaders are shared, then the reference count of those readers is increased to ensure that the subreaders remain open until the last referring reader is closed. |
TermDocs() | |
TermPositions() | |
Terms() | |
Terms(Term) |