Class SuggestUtils.TokenConsumer

  • Enclosing class:
    SuggestUtils


    public abstract static class SuggestUtils.TokenConsumer
    extends Object
    • Field Summary

      Fields

      Modifier and Type Field and Description
      protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute charTermAttr
       
      protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttr
       
      protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAttr
       
    • Constructor Summary

      Constructors

      Constructor and Description
      TokenConsumer()
       
    • Field Detail

      • charTermAttr

        protected org.apache.lucene.analysis.tokenattributes.CharTermAttribute charTermAttr
      • posIncAttr

        protected org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute posIncAttr
      • offsetAttr

        protected org.apache.lucene.analysis.tokenattributes.OffsetAttribute offsetAttr
    • Constructor Detail

      • TokenConsumer

        public TokenConsumer()
    • Method Detail

      • reset

        public void reset(org.apache.lucene.analysis.TokenStream stream)
      • fillBytesRef

        protected org.apache.lucene.util.BytesRef fillBytesRef(org.apache.lucene.util.BytesRefBuilder spare)
      • end

        public void end()