Class FieldType.DefaultAnalyzer

java.lang.Object
org.apache.lucene.analysis.Analyzer
org.apache.solr.analysis.SolrAnalyzer
org.apache.solr.schema.FieldType.DefaultAnalyzer
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
FieldType

protected final class FieldType.DefaultAnalyzer extends SolrAnalyzer
Default analyzer for types that only produce 1 verbatim token... A maximum size of chars to be read must be specified
  • 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

    Modifier and Type
    Method
    Description
    org.apache.lucene.analysis.Analyzer.TokenStreamComponents
     

    Methods inherited from class org.apache.solr.analysis.SolrAnalyzer

    getPositionIncrementGap, initReader, setPositionIncrementGap

    Methods inherited from class org.apache.lucene.analysis.Analyzer

    attributeFactory, close, getOffsetGap, getReuseStrategy, initReaderForNormalization, normalize, normalize, tokenStream, tokenStream

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • createComponents

      public org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(String fieldName)
      Specified by:
      createComponents in class org.apache.lucene.analysis.Analyzer