Package | Description |
---|---|
org.apache.lucene.analysis.synonym |
Analysis components for Synonyms.
|
Modifier and Type | Method and Description |
---|---|
SynonymMap |
SynonymMap.Builder.build()
Builds an
SynonymMap and returns it. |
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. |
Constructor and Description |
---|
SynonymFilter(TokenStream input,
SynonymMap synonyms,
boolean ignoreCase)
Deprecated.
|
SynonymGraphFilter(TokenStream input,
SynonymMap synonyms,
boolean ignoreCase)
Apply previously built synonyms to incoming tokens.
|
Copyright © 2000-2024 Apache Software Foundation. All Rights Reserved.