Interface AnalysisRequestHandlerBase.TokenTrackingAttribute

  • All Superinterfaces:
    org.apache.lucene.util.Attribute
    All Known Implementing Classes:
    AnalysisRequestHandlerBase.TokenTrackingAttributeImpl
    Enclosing class:
    AnalysisRequestHandlerBase

    public static interface AnalysisRequestHandlerBase.TokenTrackingAttribute
    extends org.apache.lucene.util.Attribute
    This is an Attribute used to track the positions of tokens in the analysis chain.
    NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
    This class is only public for usage by the AttributeSource API.
    • Method Detail

      • freezeStage

        void freezeStage()
      • setActPosition

        void setActPosition​(int pos)
      • getPositions

        int[] getPositions()
      • reset

        void reset​(int[] basePositions,
                   int position)