org.apache.solr.schema
Class FieldType.DefaultAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.apache.solr.analysis.SolrAnalyzer
          extended by org.apache.solr.schema.FieldType.DefaultAnalyzer
All Implemented Interfaces:
Closeable
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.GlobalReuseStrategy, Analyzer.PerFieldReuseStrategy, Analyzer.ReuseStrategy, Analyzer.TokenStreamComponents
 
Field Summary
 
Fields inherited from class org.apache.lucene.analysis.Analyzer
GLOBAL_REUSE_STRATEGY, PER_FIELD_REUSE_STRATEGY
 
Method Summary
 Analyzer.TokenStreamComponents createComponents(String fieldName, Reader reader)
           
 
Methods inherited from class org.apache.solr.analysis.SolrAnalyzer
charStream, getPositionIncrementGap, initReader, setPositionIncrementGap
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getReuseStrategy, 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,
                                                       Reader reader)
Specified by:
createComponents in class Analyzer


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