Class ICUCollatedTermAttributeImpl

java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
org.apache.lucene.analysis.icu.tokenattributes.ICUCollatedTermAttributeImpl
All Implemented Interfaces:
Appendable, CharSequence, Cloneable, CharTermAttribute, TermToBytesRefAttribute, Attribute

public class ICUCollatedTermAttributeImpl extends CharTermAttributeImpl
Extension of CharTermAttributeImpl that encodes the term text as a binary Unicode collation key instead of as UTF-8 bytes.
  • Constructor Details

    • ICUCollatedTermAttributeImpl

      public ICUCollatedTermAttributeImpl(com.ibm.icu.text.Collator collator)
      Create a new ICUCollatedTermAttributeImpl
      Parameters:
      collator - Collation key generator
  • Method Details