com.atlassian.confluence.search.lucene
Class ConfluenceUnstemmedAnalyzer
java.lang.Object
org.apache.lucene.analysis.Analyzer
com.atlassian.confluence.search.lucene.ConfluenceUnstemmedAnalyzer
public class ConfluenceUnstemmedAnalyzer
- extends org.apache.lucene.analysis.Analyzer
An analyzer that groups non-stemming language analyzers, and delegates to the appropriate one
depending on the indexing language (Settings.getIndexingLanguage()
.
Field Summary |
static java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> |
analyzers
|
static org.apache.lucene.analysis.Analyzer |
SIMPLE_ANALYZER
|
Method Summary |
org.apache.lucene.analysis.TokenStream |
tokenStream(java.lang.String fieldname,
java.io.Reader reader)
|
Methods inherited from class org.apache.lucene.analysis.Analyzer |
getPositionIncrementGap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
analyzers
public static final java.util.Map<java.lang.String,org.apache.lucene.analysis.Analyzer> analyzers
SIMPLE_ANALYZER
public static final org.apache.lucene.analysis.Analyzer SIMPLE_ANALYZER
ConfluenceUnstemmedAnalyzer
public ConfluenceUnstemmedAnalyzer(SettingsManager settingsManager)
tokenStream
public final org.apache.lucene.analysis.TokenStream tokenStream(java.lang.String fieldname,
java.io.Reader reader)
- Specified by:
tokenStream
in class org.apache.lucene.analysis.Analyzer
Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.