com.atlassian.confluence.search.lucene
Class ConfluenceAnalyzer

java.lang.Object
  extended by org.apache.lucene.analysis.Analyzer
      extended by org.apache.lucene.analysis.AnalyzerWrapper
          extended by com.atlassian.confluence.search.lucene.ConfluenceAnalyzer
All Implemented Interfaces:
Closeable

public class ConfluenceAnalyzer
extends org.apache.lucene.analysis.AnalyzerWrapper


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
 
Field Summary
 Map<String,org.apache.lucene.analysis.Analyzer> analyzers
           
static org.apache.lucene.analysis.Analyzer SIMPLE_ANALYZER
           
 
Constructor Summary
ConfluenceAnalyzer(SettingsManager settingsManager, UserDictionaryFactory userDictionaryFactory)
           
 
Method Summary
protected  org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(String fieldName)
           
protected  org.apache.lucene.analysis.Analyzer.TokenStreamComponents wrapComponents(String fieldName, org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
           
 
Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
createComponents, getOffsetGap, getPositionIncrementGap, initReader
 
Methods inherited from class org.apache.lucene.analysis.Analyzer
close, tokenStream, tokenStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

analyzers

public final Map<String,org.apache.lucene.analysis.Analyzer> analyzers

SIMPLE_ANALYZER

public static final org.apache.lucene.analysis.Analyzer SIMPLE_ANALYZER
Constructor Detail

ConfluenceAnalyzer

public ConfluenceAnalyzer(SettingsManager settingsManager,
                          UserDictionaryFactory userDictionaryFactory)
Method Detail

getWrappedAnalyzer

protected org.apache.lucene.analysis.Analyzer getWrappedAnalyzer(String fieldName)
Specified by:
getWrappedAnalyzer in class org.apache.lucene.analysis.AnalyzerWrapper

wrapComponents

protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents wrapComponents(String fieldName,
                                                                                   org.apache.lucene.analysis.Analyzer.TokenStreamComponents components)
Specified by:
wrapComponents in class org.apache.lucene.analysis.AnalyzerWrapper


Copyright © 2003–2015 Atlassian. All rights reserved.