Class SortedSetDocValuesField
Field that stores
a set of per-document Bytes
document.Add(new SortedSetDocValuesField(name, new BytesRef("hello")));
document.Add(new SortedSetDocValuesField(name, new BytesRef("world")));
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 SortedSetDocValuesField : Field, IIndexableField
Constructors
| Improve this Doc View SourceSortedSetDocValuesField(String, BytesRef)
Create a new sorted Doc
Declaration
public SortedSetDocValuesField(string name, BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
System. |
name | field name |
Bytes |
bytes | binary content |
Fields
| Improve this Doc View SourceTYPE
Type for sorted bytes Doc
Declaration
public static readonly FieldType TYPE
Field Value
Type | Description |
---|---|
Field |