Method AddSingleDocValuesField
AddSingleDocValuesField(Document, String, Single)
Adds a new SingleDocValuesField field with the specified 32-bit
Declaration
public static SingleDocValuesField AddSingleDocValuesField(this Document document, string name, float value)
Parameters
Type | Name | Description |
---|---|---|
Document | document | This Document. |
System.String | name | field name |
System.Single | value | 32-bit |
Returns
Type | Description |
---|---|
SingleDocValuesField | The field that was added to this Document. |