Class SortedBytesDocValuesField
Field that stores a per-document BytesRef value, indexed for sorting. Here's an example usage:
document.Add(new SortedBytesDocValuesField(name, new BytesRef("hello")));
If you also need to store the value, you should add a separate StoredField instance.
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public class SortedBytesDocValuesField : SortedDocValuesField, IIndexableField
Constructors
Name | Description |
---|---|
SortedBytesDocValuesField(String, BytesRef) | Create a new fixed or variable-length sorted DocValues field. |
SortedBytesDocValuesField(String, BytesRef, Boolean) | Create a new fixed or variable length sorted DocValues field. |
Fields
Name | Description |
---|---|
TYPE_FIXED_LEN | Type for sorted bytes DocValues: all with the same length |
TYPE_VAR_LEN | Type for sorted bytes DocValues: can have variable lengths |