Class ConfluenceFilenameAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- com.atlassian.confluence.impl.search.v2.lucene.ConfluenceFilenameAnalyzer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class ConfluenceFilenameAnalyzer extends org.apache.lucene.analysis.Analyzer
Since the
ConfluenceAnalyzer
does not handle filenames very well, we have a different Analyzer for that field.Example:
File_Name.java will be tokenized into [file][name][java]
-
-
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
Constructors Constructor Description ConfluenceFilenameAnalyzer(ConfluenceAnalyzer confluenceAnalyzer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.lucene.analysis.Analyzer.TokenStreamComponents
createComponents(String fieldName, Reader reader)
-
-
-
Constructor Detail
-
ConfluenceFilenameAnalyzer
public ConfluenceFilenameAnalyzer(ConfluenceAnalyzer confluenceAnalyzer)
-
-