Class Lucene3xSegmentInfoFormat
  
  Lucene3x ReadOnly SegmentInfoFormat implementation.
Note
This API is experimental and might change in incompatible ways in the next release.
 
 
  
  
    Inheritance
    System.Object
    
    Lucene3xSegmentInfoFormat
   
  
    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()
    
   
  
  Assembly: Lucene.Net.dll
  
  
    [Obsolete("(4.0) this is only used to read indexes created before 4.0.")]
public class Lucene3xSegmentInfoFormat : SegmentInfoFormat
   
  Fields
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string DS_COMPOUND_KEY
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string DS_NAME_KEY
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string DS_OFFSET_KEY
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Each segment records the Lucene version that created it. 
 
  
  Declaration
  
    public static readonly int FORMAT_3_1
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  This format adds optional per-segment String
diagnostics storage, and switches userData to Map.
 
  
  Declaration
  
    public static readonly int FORMAT_DIAGNOSTICS
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Each segment records whether it has term vectors. 
 
  
  Declaration
  
    public static readonly int FORMAT_HAS_VECTORS
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string NORMGEN_KEY
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string NORMGEN_PREFIX
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly string UPGRADED_SI_CODEC_NAME
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  Extension used for saving each SegmentInfo, once a 3.x
index is first committed to with 4.0.
 
  
  Declaration
  
    public static readonly string UPGRADED_SI_EXTENSION
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly int UPGRADED_SI_VERSION_CURRENT
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  Declaration
  
    public static readonly int UPGRADED_SI_VERSION_START
   
  Field Value
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
         | 
      
    
  
  Properties
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public override SegmentInfoReader SegmentInfoReader { get; }
   
  Property Value
  
  Overrides
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public override SegmentInfoWriter SegmentInfoWriter { get; }
   
  Property Value
  
  Overrides
  
  Methods
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public static bool GetDocStoreIsCompoundFile(SegmentInfo si)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Boolean | 
        Whether doc store files are stored in compound file (*.cfx).  
 | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public static int GetDocStoreOffset(SegmentInfo si)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.Int32 | 
        If this segment shares stored fields & vectors, this
       offset is where in that file this segment's docs begin.   
 | 
      
    
  
  
    |
    Improve this Doc
  
  
    View Source
  
  
  
  
  
  Declaration
  
    public static string GetDocStoreSegment(SegmentInfo si)
   
  Parameters
  
  Returns
  
    
      
        | Type | 
        Description | 
      
    
    
      
        | System.String | 
        Name used to derive fields/vectors file we share with other segments.  
 |