Class ParallelAtomicReader
  
  An AtomicReader which reads multiple, parallel indexes.  Each index
added must have the same number of documents, but typically each contains
different fields. Deletions are taken from the first reader.
Each document contains the union of the fields of all documents
with the same document number.  When searching, matches for a
query term are from the first index added that has the field.
This is useful, e.g., with collections that have large fields which
change rarely and small fields that change more frequently.  The smaller
fields may be re-indexed in a new index and both indexes may be searched
together.
Warning: It is up to you to make sure all indexes
are created and modified the same way. For example, if you add
documents to one index, you need to add the same documents in the
same order to the other indexes. Failure to do so will result in
undefined behavior.
 
  
  
    Inheritance
    System.Object
    
    
    ParallelAtomicReader
   
  
    Implements
    System.IDisposable
   
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
   
  
  Assembly: Lucene.Net.dll
  Syntax
  
    public class ParallelAtomicReader : AtomicReader, IDisposable
   
  Constructors
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ParallelAtomicReader(AtomicReader[])
  
  
  Declaration
  
    public ParallelAtomicReader(params AtomicReader[] readers)
   
  Parameters
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ParallelAtomicReader(Boolean, AtomicReader[])
  
  
  Declaration
  
    public ParallelAtomicReader(bool closeSubReaders, params AtomicReader[] readers)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Boolean | 
        closeSubReaders | 
         | 
      
      
        | AtomicReader[] | 
        readers | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ParallelAtomicReader(Boolean, AtomicReader[], AtomicReader[])
  Expert: create a ParallelAtomicReader based on the provided
readers and storedFieldsReaders; when a document is
loaded, only storedFieldsReaders will be used.
 
  
  Declaration
  
    public ParallelAtomicReader(bool closeSubReaders, AtomicReader[] readers, AtomicReader[] storedFieldsReaders)
   
  Parameters
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  FieldInfos
  Get the FieldInfos describing all fields in
this reader.
NOTE: the returned field numbers will likely not
correspond to the actual field numbers in the underlying
readers, and codec metadata (GetAttribute(String)
will be unavailable.
 
  
  Declaration
  
    public override FieldInfos FieldInfos { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Fields
  
  
  Declaration
  
    public override Fields Fields { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  LiveDocs
  
  
  Declaration
  
    public override IBits LiveDocs { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  MaxDoc
  
  
  Declaration
  
    public override int MaxDoc { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  NumDocs
  
  
  Declaration
  
    public override int NumDocs { get; }
   
  Property Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Overrides
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  CheckIntegrity()
  
  
  Declaration
  
    public override void CheckIntegrity()
   
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  DoClose()
  
  
  Declaration
  
    protected override void DoClose()
   
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Document(Int32, StoredFieldVisitor)
  
  
  Declaration
  
    public override void Document(int docID, StoredFieldVisitor visitor)
   
  Parameters
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetBinaryDocValues(String)
  
  
  Declaration
  
    public override BinaryDocValues GetBinaryDocValues(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetDocsWithField(String)
  
  
  Declaration
  
    public override IBits GetDocsWithField(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetNormValues(String)
  
  
  Declaration
  
    public override NumericDocValues GetNormValues(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetNumericDocValues(String)
  
  
  Declaration
  
    public override NumericDocValues GetNumericDocValues(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetSortedDocValues(String)
  
  
  Declaration
  
    public override SortedDocValues GetSortedDocValues(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetSortedSetDocValues(String)
  
  
  Declaration
  
    public override SortedSetDocValues GetSortedSetDocValues(string field)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.String | 
        field | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetTermVectors(Int32)
  
  
  Declaration
  
    public override Fields GetTermVectors(int docID)
   
  Parameters
  
    
      
        | Type | 
        Name | 
        Description | 
      
    
    
      
        | System.Int32 | 
        docID | 
         | 
      
    
  
  Returns
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  Overrides
  System.Object.ToString()
  Implements
  
      System.IDisposable