public final class IcuCollationDocValuesField
extends org.apache.lucene.document.Field
SortedDocValuesField.
This is more efficient that IcuCollationKeyAnalyzer if the field
only has one value: no un-inversion is necessary to sort on the field,
locale-sensitive range queries can still work via DocValuesRangeQuery,
and the underlying data structures built at index-time are likely more efficient
and use less memory than FieldCache.| Constructor and Description |
|---|
IcuCollationDocValuesField(java.lang.String name,
com.ibm.icu.text.Collator collator)
Create a new ICUCollationDocValuesField instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
name() |
void |
setStringValue(java.lang.String value) |
binaryValue, boost, fieldType, numericValue, readerValue, setBoost, setBytesValue, setBytesValue, setByteValue, setDoubleValue, setFloatValue, setIntValue, setLongValue, setReaderValue, setShortValue, setTokenStream, stringValue, tokenStream, tokenStreamValue, toStringpublic IcuCollationDocValuesField(java.lang.String name,
com.ibm.icu.text.Collator collator)
setStringValue(String).name - field namecollator - Collator for generating collation keys.public java.lang.String name()
name in interface org.apache.lucene.index.IndexableFieldname in class org.apache.lucene.document.Fieldpublic void setStringValue(java.lang.String value)
setStringValue in class org.apache.lucene.document.Field