public class SynonymMap extends Object
Modifier and Type | Class | Description |
---|---|---|
static class |
SynonymMap.Builder |
Builds an FSTSynonymMap.
|
Modifier and Type | Field | 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 | 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
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.