Class ByteDocValuesField
Field that stores a per-document
document.Add(new ByteDocValuesField(name, (byte) 22));
If you also need to store the value, you should add a separate StoredField instance.
Implements
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class ByteDocValuesField : NumericDocValuesField, IIndexableField
Constructors
| Improve this Doc View SourceByteDocValuesField(String, Byte)
Creates a new DocValues field with the specified 8-bit byte value
Declaration
public ByteDocValuesField(string name, byte value)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
System.Byte | value | 8-bit byte value |
Methods
| Improve this Doc View SourceSetByteValue(Byte)
Declaration
public override void SetByteValue(byte value)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | value |