Class FilteredAnalyzer
- java.lang.Object
-
- org.apache.lucene.analysis.Analyzer
-
- org.apache.lucene.analysis.AnalyzerWrapper
-
- com.logicaldoc.core.searchengine.analyzer.FilteredAnalyzer
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class FilteredAnalyzer extends org.apache.lucene.analysis.AnalyzerWrapper
This analyzer is a wrapper to be used to handle an ordered list of filters. Please see also https://lucene.apache.org/solr/guide/8_5/understanding-analyzers-tokenizers-and-filters.html- Since:
- 7.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
Fields Modifier and Type Field Description static ThreadLocal<String>
lang
-
Constructor Summary
Constructors Constructor Description FilteredAnalyzer()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
getTokenFilterNames(boolean justActives)
Ordered list of token filter names-
Methods inherited from class org.apache.lucene.analysis.AnalyzerWrapper
getOffsetGap, getPositionIncrementGap, initReader
-
-
-
-
Field Detail
-
lang
public static final ThreadLocal<String> lang
-
-