org.apache.solr.schema

## 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

      `Analyzer.ReuseStrategy, 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 and Description
    --- | ---
    `Analyzer.TokenStreamComponents` | `createComponents(String fieldName)`

    - ### 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, getVersion, initReaderForNormalization, normalize, normalize, setVersion, tokenStream, tokenStream`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### createComponents

          public Analyzer.TokenStreamComponents createComponents(String fieldName)

      Specified by:
        `createComponents` in class `Analyzer`

Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.