Method AddSortedSetDocValuesField
AddSortedSetDocValuesField(Document, String, BytesRef)
Adds a new SortedSetDocValuesField field.
Declaration
public static SortedSetDocValuesField AddSortedSetDocValuesField(this Document document, string name, BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
Document | document | This Document. |
System.String | name | field name |
BytesRef | bytes | binary content |
Returns
Type | Description |
---|---|
SortedSetDocValuesField | The field that was added to this Document. |
Remarks
If you also need to store the value, you should add a separate StoredField instance.