Class EnhancementsCategoryTokenizer

    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.util.AttributeSource

        org.apache.lucene.util.AttributeSource.AttributeFactory, org.apache.lucene.util.AttributeSource.State
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void setPayload()
      Set the payload of the current category token.
      • Methods inherited from class org.apache.lucene.analysis.TokenFilter

        close, end, reset
      • Methods inherited from class org.apache.lucene.util.AttributeSource

        addAttribute, addAttributeImpl, captureState, clearAttributes, cloneAttributes, copyTo, equals, getAttribute, getAttributeClassesIterator, getAttributeFactory, getAttributeImplsIterator, hasAttribute, hasAttributes, hashCode, reflectAsString, reflectWith, restoreState, toString
    • Field Detail

      • payloadBytes

        protected byte[] payloadBytes
        The data buffer used for payload instance.
      • enhancementBytes

        protected byte[][] enhancementBytes
        Buffers for enhancement payload bytes
    • Constructor Detail

      • EnhancementsCategoryTokenizer

        public EnhancementsCategoryTokenizer​(org.apache.lucene.analysis.TokenStream input,
                                             EnhancementsIndexingParams indexingParams)
                                      throws IOException
        Constructor.
        Parameters:
        input - The stream of category tokens.
        indexingParams - The indexing params to use.
        Throws:
        IOException