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
    • 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 
      Modifier and Type Field Description
      private static org.apache.lucene.analysis.Analyzer DEFAULT_ANALYZER  
      private static org.apache.lucene.analysis.Analyzer LETTER_OR_DIGIT_ANALYZER  
      • 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
    • Field Detail

      • DEFAULT_ANALYZER

        private static final org.apache.lucene.analysis.Analyzer DEFAULT_ANALYZER
      • LETTER_OR_DIGIT_ANALYZER

        private static final org.apache.lucene.analysis.Analyzer LETTER_OR_DIGIT_ANALYZER
    • 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)