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 Stored
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 Doc
Declaration
public ByteDocValuesField(string name, byte value)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
System. |
value | 8-bit byte value |
Methods
| Improve this Doc View SourceSetByteValue(Byte)
Declaration
public override void SetByteValue(byte value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value |