Package org.apache.lucene.analysis.synonym
package org.apache.lucene.analysis.synonym
Analysis components for Synonyms.
-
ClassDescriptionParser for the Solr synonyms format.Deprecated.Deprecated.Use
SynonymGraphFilterFactory
instead, but be sure to also useFlattenGraphFilterFactory
at index time (not at search time) as well.Applies single- or multi-token synonyms from aSynonymMap
to an incomingTokenStream
, producing a fully correct graph output.Factory forSynonymGraphFilter
.A map of synonyms, keys and values are phrases.Builds an FSTSynonymMap.Abstraction for parsing synonym files.Parser for wordnet prolog format
SynonymGraphFilter
instead, but be sure to also useFlattenGraphFilter
at index time (not at search time) as well.