Class SimpleTextDocValuesWriter
Inheritance
Implements
Inherited Members
Namespace: Lucene.Net.Codecs.SimpleText
Assembly: Lucene.Net.Codecs.dll
Syntax
public class SimpleTextDocValuesWriter : DocValuesConsumer, IDisposable
  Methods
AddBinaryField(FieldInfo, IEnumerable<BytesRef>)
Writes binary docvalues for a field.
Declaration
public override void AddBinaryField(FieldInfo field, IEnumerable<BytesRef> values)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | field | Field information.  | 
      
| IEnumerable<BytesRef> | values | IEnumerable<T> of binary values (one for each document).   | 
      
Overrides
Exceptions
| Type | Condition | 
|---|---|
| IOException | If an I/O error occurred.  | 
      
AddNumericField(FieldInfo, IEnumerable<long?>)
Writes numeric docvalues for a field.
Declaration
public override void AddNumericField(FieldInfo field, IEnumerable<long?> values)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | field | Field information.  | 
      
| IEnumerable<long?> | values | IEnumerable<T> of numeric values (one for each document).   | 
      
Overrides
Exceptions
| Type | Condition | 
|---|---|
| IOException | If an I/O error occurred.  | 
      
AddSortedField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<long?>)
Writes pre-sorted binary docvalues for a field.
Declaration
public override void AddSortedField(FieldInfo field, IEnumerable<BytesRef> values, IEnumerable<long?> docToOrd)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | field | Field information.  | 
      
| IEnumerable<BytesRef> | values | IEnumerable<T> of binary values in sorted order (deduplicated).  | 
      
| IEnumerable<long?> | docToOrd | IEnumerable<T> of ordinals (one for each document).   | 
      
Overrides
Exceptions
| Type | Condition | 
|---|---|
| IOException | If an I/O error occurred.  | 
      
AddSortedSetField(FieldInfo, IEnumerable<BytesRef>, IEnumerable<long?>, IEnumerable<long?>)
Writes pre-sorted set docvalues for a field
Declaration
public override void AddSortedSetField(FieldInfo field, IEnumerable<BytesRef> values, IEnumerable<long?> docToOrdCount, IEnumerable<long?> ords)
  Parameters
| Type | Name | Description | 
|---|---|---|
| FieldInfo | field | Field information.  | 
      
| IEnumerable<BytesRef> | values | IEnumerable<T> of binary values in sorted order (deduplicated).  | 
      
| IEnumerable<long?> | docToOrdCount | IEnumerable<T> of the number of values for each document. A zero ordinal count indicates a missing value.  | 
      
| IEnumerable<long?> | ords | IEnumerable<T> of ordinal occurrences (  | 
      
Overrides
Exceptions
| Type | Condition | 
|---|---|
| IOException | If an I/O error occurred.  | 
      
Dispose(bool)
Implementations must override and should dispose all resources used by this instance.
Declaration
protected override void Dispose(bool disposing)
  Parameters
| Type | Name | Description | 
|---|---|---|
| bool | disposing |