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 Summary

    Modifier and Type
    Method
    Description
    void
     
    int[]
     
    void
    reset(int[] basePositions, int position)
     
    void
    setActPosition(int pos)
     
  • Method Details

    • freezeStage

      void freezeStage()
    • setActPosition

      void setActPosition(int pos)
    • getPositions

      int[] getPositions()
    • reset

      void reset(int[] basePositions, int position)