- tokenStream
Returns a TokenStream suitable for fieldName, tokenizing the contents of text.
This method uses #cr
- close
Frees persistent resources used by this Analyzer
- getPositionIncrementGap
Invoked before indexing a IndexableField instance if terms have already been
added to that field. Th
- getOffsetGap
Just like #getPositionIncrementGap, except for Token offsets instead. By default
this returns 1. Thi
- reusableTokenStream
Creates a TokenStream that is allowed to be re-used from the previous time that
the same thread call
- getReuseStrategy
Returns the used ReuseStrategy.
- normalize
Wrap the given TokenStream in order to apply normalization filters. The default
implementation retur
- createComponents
Creates a new TokenStreamComponents instance for this analyzer.
- initReader
Override this if you want to add a CharFilter chain. The default implementation
returns reader uncha
- setVersion
Set the version of Lucene this analyzer should mimic the behavior for for
analysis.
- initReaderForNormalization
Wrap the given Reader with CharFilters that make sense for normalization. This
is typically a subset
- getClass