Class NexusLegacyAnalyzer

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public final class NexusLegacyAnalyzer
    extends org.apache.lucene.analysis.AnalyzerWrapper
    A Nexus specific Lucene Analyzer used to produce legacy index transfer format
    Author:
    Jason van Zyl
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer

        org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
    • Field Summary

      • Fields inherited from class org.apache.lucene.analysis.Analyzer

        GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer​(java.lang.String fieldName)  
      protected boolean isTextField​(java.lang.String field)  
      • Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper

        attributeFactory, createComponents, getOffsetGap, getPositionIncrementGap, initReader, initReaderForNormalization, normalize, wrapComponents, wrapReader, wrapReaderForNormalization, wrapTokenStreamForNormalization
      • Methods inherited from class org.apache.lucene.analysis.Analyzer

        close, getReuseStrategy, getVersion, normalize, setVersion, tokenStream, tokenStream
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NexusLegacyAnalyzer

        public NexusLegacyAnalyzer()
    • Method Detail

      • getWrappedAnalyzer

        protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer​(java.lang.String fieldName)
        Specified by:
        getWrappedAnalyzer in class org.apache.lucene.analysis.AnalyzerWrapper
      • isTextField

        protected boolean isTextField​(java.lang.String field)