|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.analysis.miscellaneous.StemmerOverrideFilter.StemmerOverrideMap
public static final class StemmerOverrideFilter.StemmerOverrideMap
A read-only 4-byte FST backed map that allows fast case-insensitive key
value lookups for StemmerOverrideFilter
Constructor Summary | |
---|---|
StemmerOverrideFilter.StemmerOverrideMap(FST<BytesRef> fst,
boolean ignoreCase)
Creates a new StemmerOverrideFilter.StemmerOverrideMap |
Method Summary | |
---|---|
BytesRef |
get(char[] buffer,
int bufferLen,
FST.Arc<BytesRef> scratchArc,
FST.BytesReader fstReader)
Returns the value mapped to the given key or null if the key is not in the FST dictionary. |
FST.BytesReader |
getBytesReader()
Returns a FST.BytesReader to pass to the get(char[], int, FST.Arc, FST.BytesReader) method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StemmerOverrideFilter.StemmerOverrideMap(FST<BytesRef> fst, boolean ignoreCase)
StemmerOverrideFilter.StemmerOverrideMap
fst
- the fst to lookup the overridesignoreCase
- if the keys case should be ingoredMethod Detail |
---|
public FST.BytesReader getBytesReader()
FST.BytesReader
to pass to the get(char[], int, FST.Arc, FST.BytesReader)
method.
public BytesRef get(char[] buffer, int bufferLen, FST.Arc<BytesRef> scratchArc, FST.BytesReader fstReader) throws IOException
null
if the key is not in the FST dictionary.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |