Method AddBinaryDocValuesField
AddBinaryDocValuesField(Document, String, BytesRef)
Adds a new BinaryDocValuesField.
Declaration
public static BinaryDocValuesField AddBinaryDocValuesField(this Document document, string name, BytesRef value)
Parameters
Type | Name | Description |
---|---|---|
Document | document | This Document. |
System.String | name | field name |
BytesRef | value | binary content |
Returns
Type | Description |
---|---|
BinaryDocValuesField | The field that was added to this Document. |