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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Documents
Assembly: Lucene.Net.dll
Syntax
public class SortedSetDocValuesField : Field, IIndexableField, IFormattable
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 |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | if the field |
Fields
| Improve this Doc View SourceTYPE
Type for sorted bytes DocValues
Declaration
public static readonly FieldType TYPE
Field Value
Type | Description |
---|---|
FieldType |
Implements
System.IFormattable