Class Lucene40StoredFieldsWriter
Class responsible for writing stored document fields.
It uses <segment>.fdt and <segment>.fdx; files.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
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.Lucene40
Assembly: Lucene.Net.dll
Syntax
public sealed class Lucene40StoredFieldsWriter : StoredFieldsWriter, IDisposable
  Constructors
| Improve this Doc View SourceLucene40StoredFieldsWriter(Directory, String, IOContext)
Sole constructor.
Declaration
public Lucene40StoredFieldsWriter(Directory directory, string segment, IOContext context)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Directory | directory | |
| System.String | segment | |
| IOContext | context | 
Fields
| Improve this Doc View SourceFIELDS_EXTENSION
Extension of stored fields file.
Declaration
public const string FIELDS_EXTENSION = "fdt"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
FIELDS_INDEX_EXTENSION
Extension of stored fields index file.
Declaration
public const string FIELDS_INDEX_EXTENSION = "fdx"
  Field Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceAbort()
Declaration
public override void Abort()
  Overrides
| Improve this Doc View SourceAddRawDocuments(IndexInput, Int32[], Int32)
Bulk write a contiguous series of documents.  The
lengths array is the length (in bytes) of each raw
document.  The stream IndexInput is the
fieldsStream from which we should bulk-copy all
bytes.
Declaration
public void AddRawDocuments(IndexInput stream, int[] lengths, int numDocs)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IndexInput | stream | |
| System.Int32[] | lengths | |
| System.Int32 | numDocs | 
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Boolean | disposing | 
Overrides
| Improve this Doc View SourceFinish(FieldInfos, Int32)
Declaration
public override void Finish(FieldInfos fis, int numDocs)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfos | fis | |
| System.Int32 | numDocs | 
Overrides
| Improve this Doc View SourceMerge(MergeState)
Declaration
public override int Merge(MergeState mergeState)
  Parameters
| Type | Name | Description | 
|---|---|---|
| MergeState | mergeState | 
Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
| Improve this Doc View SourceStartDocument(Int32)
Declaration
public override void StartDocument(int numStoredFields)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | numStoredFields | 
Overrides
| Improve this Doc View SourceWriteField(FieldInfo, IIndexableField)
Declaration
public override void WriteField(FieldInfo info, IIndexableField field)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | info | |
| IIndexableField | field | 
Overrides
Implements
      System.IDisposable