Class BlockTermsReader
Handles a terms dict, but decouples all details of doc/freqs/positions reading to an instance of PostingsReaderBase. This class is reusable for codecs that use a different format for docs/freqs/positions (though codecs are also free to make their own terms dict impl).
This class also interacts with an instance of TermsIndexReaderBase, to abstract away the specific implementation of the terms dict index.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
System.Collections.Generic.IEnumerable<System.String>
    System.Collections.IEnumerable
    System.IDisposable
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Codecs.BlockTerms
Assembly: Lucene.Net.Codecs.dll
Syntax
public class BlockTermsReader : FieldsProducer, IEnumerable<string>, IEnumerable, IDisposable
  Constructors
| Improve this Doc View SourceBlockTermsReader(TermsIndexReaderBase, Directory, FieldInfos, SegmentInfo, PostingsReaderBase, IOContext, String)
Declaration
public BlockTermsReader(TermsIndexReaderBase indexReader, Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext context, string segmentSuffix)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TermsIndexReaderBase | indexReader | |
| Directory | dir | |
| FieldInfos | fieldInfos | |
| SegmentInfo | info | |
| PostingsReaderBase | postingsReader | |
| IOContext | context | |
| System.String | segmentSuffix | 
Properties
| Improve this Doc View SourceCount
Declaration
public override int Count { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
Methods
| Improve this Doc View SourceCheckIntegrity()
Declaration
public override void CheckIntegrity()
  Overrides
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Overrides
| Improve this Doc View SourceGetEnumerator()
Declaration
public override IEnumerator<string> GetEnumerator()
  Returns
| Type | Description | 
|---|---|
| System.Collections.Generic.IEnumerator<System.String> | 
Overrides
| Improve this Doc View SourceGetTerms(String)
Declaration
public override Terms GetTerms(string field)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | field | 
Returns
| Type | Description | 
|---|---|
| Terms | 
Overrides
| Improve this Doc View SourceRamBytesUsed()
Declaration
public override long RamBytesUsed()
  Returns
| Type | Description | 
|---|---|
| System.Int64 | 
Overrides
Implements
      System.Collections.Generic.IEnumerable<T>
  
  
      System.Collections.IEnumerable
  
  
      System.IDisposable