com.atlassian.confluence.search.lucene.analyzers.unstemmed
Class ChineseAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by com.atlassian.confluence.search.lucene.analyzers.unstemmed.ChineseAnalyzer
All Implemented Interfaces:
java.io.Closeable

public class ChineseAnalyzer
extends org.apache.lucene.analysis.Analyzer

A analyzer for European languages which will tokenize, apply the standard filter and lower case. It will not stem the field.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.lucene.analysis.Analyzer
org.apache.lucene.analysis.Analyzer.GlobalReuseStrategy, org.apache.lucene.analysis.Analyzer.PerFieldReuseStrategy, org.apache.lucene.analysis.Analyzer.ReuseStrategy, org.apache.lucene.analysis.Analyzer.TokenStreamComponents
 
Constructor Summary
ChineseAnalyzer(org.apache.lucene.util.Version version)
           
 
Method Summary
protected  org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(java.lang.String fieldName, java.io.Reader reader)
           
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, getOffsetGap, getPositionIncrementGap, initReader, tokenStream, tokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChineseAnalyzer

public ChineseAnalyzer(org.apache.lucene.util.Version version)
Method Detail

createComponents

protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents createComponents(java.lang.String fieldName,
                                                                                     java.io.Reader reader)
Specified by:
createComponents in class org.apache.lucene.analysis.Analyzer


Copyright © 2003-2014 Atlassian. All Rights Reserved.