Class SolrAnalyzer

    • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      SolrAnalyzer()  
    • Constructor Detail

      • SolrAnalyzer

        public SolrAnalyzer()
    • Method Detail

      • setPositionIncrementGap

        public void setPositionIncrementGap​(int gap)
      • getPositionIncrementGap

        public int getPositionIncrementGap​(String fieldName)
        Overrides:
        getPositionIncrementGap in class org.apache.lucene.analysis.Analyzer
      • initReader

        protected Reader initReader​(String fieldName,
                                    Reader reader)
        Overrides:
        initReader in class org.apache.lucene.analysis.Analyzer