Package | Description |
---|---|
org.apache.lucene.analysis.charfilter |
Normalization of text before the tokenizer.
|
org.apache.lucene.analysis.custom |
A general-purpose Analyzer that can be created with a builder-style API.
|
org.apache.lucene.analysis.fa |
Analyzer for Persian.
|
org.apache.lucene.analysis.pattern |
Set of components for pattern-based (regex) analysis.
|
org.apache.lucene.analysis.util |
Utility functions for text analysis.
|
Modifier and Type | Class and Description |
---|---|
class |
HTMLStripCharFilterFactory
Factory for
HTMLStripCharFilter . |
class |
MappingCharFilterFactory
Factory for
MappingCharFilter . |
Modifier and Type | Field and Description |
---|---|
private CharFilterFactory[] |
CustomAnalyzer.charFilters |
Modifier and Type | Field and Description |
---|---|
private java.util.List<CharFilterFactory> |
CustomAnalyzer.Builder.charFilters |
Modifier and Type | Method and Description |
---|---|
java.util.List<CharFilterFactory> |
CustomAnalyzer.getCharFilterFactories()
Returns the list of char filters that are used in this analyzer.
|
Modifier and Type | Method and Description |
---|---|
CustomAnalyzer.Builder |
CustomAnalyzer.Builder.addCharFilter(java.lang.Class<? extends CharFilterFactory> factory,
java.util.Map<java.lang.String,java.lang.String> params)
Adds the given char filter.
|
CustomAnalyzer.Builder |
CustomAnalyzer.Builder.addCharFilter(java.lang.Class<? extends CharFilterFactory> factory,
java.lang.String... params)
Adds the given char filter.
|
Constructor and Description |
---|
CustomAnalyzer(Version defaultMatchVersion,
CharFilterFactory[] charFilters,
TokenizerFactory tokenizer,
TokenFilterFactory[] tokenFilters,
java.lang.Integer posIncGap,
java.lang.Integer offsetGap) |
Modifier and Type | Class and Description |
---|---|
class |
PersianCharFilterFactory
Factory for
PersianCharFilter . |
Modifier and Type | Class and Description |
---|---|
class |
PatternReplaceCharFilterFactory
Factory for
PatternReplaceCharFilter . |
Modifier and Type | Field and Description |
---|---|
private static AnalysisSPILoader<CharFilterFactory> |
CharFilterFactory.loader |
Modifier and Type | Method and Description |
---|---|
static CharFilterFactory |
CharFilterFactory.forName(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> args)
looks up a charfilter by name from context classpath
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<? extends CharFilterFactory> |
CharFilterFactory.lookupClass(java.lang.String name)
looks up a charfilter class by name from context classpath
|