|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
BytesRef
to this BytesRefList
.
Sort.MIN_BUFFER_SIZE_MB
.
Lookup
representation based on the given TermFreqIterator
.
Lookup
representation based on the given TermFreqIterator
.
BytesRef
array that stores full
copies of the appended bytes in a ByteBlockPool
.BytesRefList
BytesRef
and then allows one to iterate over their sorted order.CharSequence
BytesRefList
DataInput
if it is Closeable
.
DataOutput
if it is Closeable
.
SpellChecker.setAccuracy(float)
.
FSTCompletion
with default options: 10 buckets, exact match
promoted to first position and InMemorySorter
with a comparator obtained from
BytesRef.getUTF8SortedAsUnicodeComparator()
.
Lookup
API to FSTCompletion
.FSTCompletionLookup.build(TermFreqIterator)
method.
FSTCompletionLookup.build(TermFreqIterator)
method.
FSTCompletionLookup
instead.BytesRefList
SpellChecker.suggestSimilar(String, int, org.apache.lucene.index.IndexReader, String, boolean, float)
, to
decide whether a suggestion is included or not.
Float
indexed by key, increment it by one unit
and store the new Float
.
-1
if
no exact match exists.
null
if that node doesn't
exist.
null
if that node doesn't
exist.
StringDistance
instance used by this
SpellChecker
instance.
Dictionary
.
BytesRefSorter
that keeps all the entries in memory.BytesRefList.iterator(Comparator)
with a null
comparator
BytesRefIterator
with point in time semantics.
BytesRefSorter.add(BytesRef)
and returns
an iterator over all sorted entries.
String
objects that combines the compact size of a binary search
tree with the speed of a digital search trie, and is therefore ideal for
practical use in sorting and searching data.File
into the Trie.
File
into the Trie.
key
.
key
.
CharSequence
suggestions.PriorityQueue
collecting a fixed size of high priority Lookup.LookupResult
List
of keys that almost match the argument key.
List
of keys that almost match the argument key.
List
of all keys in the trie that
begin with a given prefix.
List
of all keys in the trie that
begin with a given prefix.
BytesRef
.
SpellChecker.DEFAULT_ACCURACY
Comparator
for the SuggestWordQueue
.
matchAlmost
method.
matchPrefix
and matchAlmost
methods.
spellIndex
is the same value
as given in the constructor.
StringDistance
implementation for this
SpellChecker
instance.
BytesRefList
LevensteinDistance
as the default StringDistance
.
StringDistance
measure
and the given Comparator
for sorting the results.
suggestSimilar(word, numSug, ir, suggestMode, field, this.accuracy)
SuggestWordQueue.DEFAULT_COMPARATOR
1
WFSTCompletionLookup(true)
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |