Package | Description |
---|---|
org.apache.lucene.analysis.charfilter |
Normalization of text before the tokenizer.
|
org.apache.lucene.analysis.commongrams |
Construct n-grams for frequently occurring terms and phrases.
|
org.apache.lucene.analysis.compound |
A filter that decomposes compound words you find in many Germanic
languages into the word parts.
|
org.apache.lucene.analysis.core |
Basic, general-purpose analysis components.
|
org.apache.lucene.analysis.custom |
A general-purpose Analyzer that can be created with a builder-style API.
|
org.apache.lucene.analysis.hunspell |
A Java implementation of Hunspell stemming and
spell-checking algorithms (
Hunspell ), and a stemming
TokenFilter (HunspellStemFilter ) based on it. |
org.apache.lucene.analysis.miscellaneous |
Miscellaneous Tokenstreams.
|
org.apache.lucene.analysis.pattern |
Set of components for pattern-based (regex) analysis.
|
org.apache.lucene.analysis.payloads |
Provides various convenience classes for creating payloads on Tokens.
|
org.apache.lucene.analysis.snowball |
TokenFilter and Analyzer implementations that use Snowball
stemmers. |
org.apache.lucene.analysis.synonym |
Analysis components for Synonyms.
|
org.apache.lucene.analysis.util |
Utility functions for text analysis.
|
Modifier and Type | Method and Description |
---|---|
void |
MappingCharFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
CommonGramsFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
DictionaryCompoundWordTokenFilterFactory.inform(ResourceLoader loader) |
void |
HyphenationCompoundWordTokenFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
StopFilterFactory.inform(ResourceLoader loader) |
void |
TypeTokenFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
static CustomAnalyzer.Builder |
CustomAnalyzer.builder(ResourceLoader loader)
Returns a builder for custom analyzers that loads all resources using the given
ResourceLoader . |
Modifier and Type | Method and Description |
---|---|
void |
HunspellStemFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
protected void |
ConditionalTokenFilterFactory.doInform(ResourceLoader loader)
Initialises this component with the corresponding
ResourceLoader |
void |
ProtectedTermFilterFactory.doInform(ResourceLoader loader) |
void |
StemmerOverrideFilterFactory.inform(ResourceLoader loader) |
void |
KeywordMarkerFilterFactory.inform(ResourceLoader loader) |
void |
ConditionalTokenFilterFactory.inform(ResourceLoader loader) |
void |
WordDelimiterFilterFactory.inform(ResourceLoader loader)
Deprecated.
|
void |
WordDelimiterGraphFilterFactory.inform(ResourceLoader loader) |
void |
KeepWordFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
PatternTypingFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
DelimitedPayloadTokenFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
SnowballPorterFilterFactory.inform(ResourceLoader loader) |
Modifier and Type | Method and Description |
---|---|
void |
SynonymGraphFilterFactory.inform(ResourceLoader loader) |
void |
SynonymFilterFactory.inform(ResourceLoader loader)
Deprecated.
|
protected SynonymMap |
SynonymGraphFilterFactory.loadSynonyms(ResourceLoader loader,
String cname,
boolean dedup,
Analyzer analyzer)
Load synonyms with the given
SynonymMap.Parser class. |
protected SynonymMap |
SynonymFilterFactory.loadSynonyms(ResourceLoader loader,
String cname,
boolean dedup,
Analyzer analyzer)
Deprecated.
Load synonyms with the given
SynonymMap.Parser class. |
Modifier and Type | Class and Description |
---|---|
class |
ClasspathResourceLoader
Simple
ResourceLoader that uses ClassLoader.getResourceAsStream(String)
and Class.forName(String,boolean,ClassLoader) to open resources and
classes, respectively. |
class |
FilesystemResourceLoader
Simple
ResourceLoader that opens resource files
from the local file system, optionally resolving against
a base directory. |
Modifier and Type | Method and Description |
---|---|
protected List<String> |
AbstractAnalysisFactory.getLines(ResourceLoader loader,
String resource)
Returns the resource's lines (with content treated as UTF-8)
|
protected CharArraySet |
AbstractAnalysisFactory.getSnowballWordSet(ResourceLoader loader,
String wordFiles,
boolean ignoreCase)
same as
AbstractAnalysisFactory.getWordSet(ResourceLoader, String, boolean) ,
except the input is in snowball format. |
protected CharArraySet |
AbstractAnalysisFactory.getWordSet(ResourceLoader loader,
String wordFiles,
boolean ignoreCase)
Returns as
CharArraySet from wordFiles, which
can be a comma-separated list of filenames |
void |
ElisionFilterFactory.inform(ResourceLoader loader) |
void |
ResourceLoaderAware.inform(ResourceLoader loader)
Initializes this component with the provided ResourceLoader
(used for loading classes, files, etc).
|
Constructor and Description |
---|
FilesystemResourceLoader(Path baseDirectory,
ResourceLoader delegate)
Creates a resource loader that resolves resources against the given
base directory (may be
null to refer to CWD). |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.