public class SynonymMap extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SynonymMap.Builder
Builds an FSTSynonymMap.
|
Modifier and Type | Field and Description |
---|---|
org.apache.lucene.util.fst.FST<org.apache.lucene.util.BytesRef> |
fst
map>
|
int |
maxHorizontalContext
maxHorizontalContext: maximum context we need on the tokenstream
|
static char |
WORD_SEPARATOR
for multiword support, you must separate words with this separator
|
org.apache.lucene.util.BytesRefHash |
words
map
|
Constructor and Description |
---|
SynonymMap(org.apache.lucene.util.fst.FST<org.apache.lucene.util.BytesRef> fst,
org.apache.lucene.util.BytesRefHash words,
int maxHorizontalContext) |
public static final char WORD_SEPARATOR
public final org.apache.lucene.util.fst.FST<org.apache.lucene.util.BytesRef> fst
public final org.apache.lucene.util.BytesRefHash words
public final int maxHorizontalContext