Class SortedSetDocValuesField
Field that stores a set of per-document BytesRef values, indexed for faceting,grouping,joining. Here's an example usage:
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 StoredField instance.
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 DocValues field.
Declaration
public SortedSetDocValuesField(string name, BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | field name |
BytesRef | bytes | binary content |
Fields
| Improve this Doc View SourceTYPE
Type for sorted bytes DocValues
Declaration
public static readonly FieldType TYPE
Field Value
Type | Description |
---|---|
FieldType |