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
Inheritance
System.Object
Lucene40StoredFieldsWriter
Assembly: Lucene.Net.dll
Syntax
public sealed class Lucene40StoredFieldsWriter : StoredFieldsWriter
Constructors
|
Improve this Doc
View Source
Lucene40StoredFieldsWriter(Directory, String, IOContext)
Declaration
public Lucene40StoredFieldsWriter(Directory directory, string segment, IOContext context)
Parameters
Fields
|
Improve this Doc
View Source
FIELDS_EXTENSION
Extension of stored fields file.
Declaration
public const string FIELDS_EXTENSION = null
Field Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
FIELDS_INDEX_EXTENSION
Extension of stored fields index file.
Declaration
public const string FIELDS_INDEX_EXTENSION = null
Field Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
Abort()
Declaration
public override void Abort()
Overrides
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
Finish(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 Source
Merge(MergeState)
Declaration
public override int Merge(MergeState mergeState)
Parameters
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
StartDocument(Int32)
Declaration
public override void StartDocument(int numStoredFields)
Parameters
Type |
Name |
Description |
System.Int32 |
numStoredFields |
|
Overrides
|
Improve this Doc
View Source
WriteField(FieldInfo, IIndexableField)
Declaration
public override void WriteField(FieldInfo info, IIndexableField field)
Parameters
Overrides
See Also