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.
Inherited Members
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class SortedSetDocValuesField : Field, IIndexableField, IFormattable
Constructors
SortedSetDocValuesField(string, BytesRef)
Create a new sorted DocValues field.
Declaration
public SortedSetDocValuesField(string name, BytesRef bytes)
Parameters
Type | Name | Description |
---|---|---|
string | name | field name |
BytesRef | bytes | binary content |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | if the field |
Fields
TYPE
Type for sorted bytes DocValues
Declaration
public static readonly FieldType TYPE
Field Value
Type | Description |
---|---|
FieldType |