- accept(int, Bits) - Method in class org.apache.lucene.search.suggest.document.CompletionScorer
-
Returns true if a document with docID is accepted,
false if the docID maps to a deleted
document or has been filtered out
- add(BytesRef, Set<BytesRef>, long, BytesRef) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Adds a new suggestion.
- add(BytesRef) - Method in interface org.apache.lucene.search.suggest.fst.BytesRefSorter
-
Adds a single suggestion entry (possibly compound with its bucket).
- add(BytesRef) - Method in class org.apache.lucene.search.suggest.fst.ExternalRefSorter
-
- add(BytesRef, int) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionBuilder
-
Appends a single suggestion and its weight to the internal buffers.
- add(BytesRef) - Method in class org.apache.lucene.search.suggest.InMemorySorter
-
- add(CharSequence, Object) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
Adds a new node if key already exists,
otherwise replaces its value.
- add(CharSequence, Object) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
Adds a new node if key already exists,
otherwise replaces its value.
- addAllContexts() - Method in class org.apache.lucene.search.suggest.document.ContextQuery
-
Add all contexts with a boost of 1f
- addContext(CharSequence) - Method in class org.apache.lucene.search.suggest.document.ContextQuery
-
Adds an exact context with default boost of 1
- addContext(CharSequence, float) - Method in class org.apache.lucene.search.suggest.document.ContextQuery
-
Adds an exact context with boost
- addContext(CharSequence, float, boolean) - Method in class org.apache.lucene.search.suggest.document.ContextQuery
-
Adds a context with boost, set exact to false
if the context is a prefix of any indexed contexts
- addContextToQuery(BooleanQuery.Builder, BytesRef, BooleanClause.Occur) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
This method is handy as we do not need access to internal fields such as CONTEXTS_FIELD_NAME in order to build queries
However, here may not be its best location.
- addNonMatch(StringBuilder, String) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Called while highlighting a single result, to append a
non-matching chunk of text from the suggestion to the
provided fragments list.
- addPrefixMatch(StringBuilder, String, String, String) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Called while highlighting a single result, to append a
matched prefix token, to the provided fragments list.
- addWholeMatch(StringBuilder, String, String) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Called while highlighting a single result, to append
the whole matched token to the provided fragments list.
- ALPHA - Static variable in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
The constant used for backoff smoothing; during
lookup, this means that if a given trigram did not
occur, and we backoff to the bigram, the overall score
will be 0.4 times what the bigram model would have
assigned.
- analyzer - Variable in class org.apache.lucene.search.suggest.document.PrefixCompletionQuery
-
Used to analyze the term text
- AnalyzingInfixSuggester - Class in org.apache.lucene.search.suggest.analyzing
-
Analyzes the input text and then suggests matches based
on prefix matches to any tokens in the indexed text.
- AnalyzingInfixSuggester(Directory, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Create a new instance, loading from a previously built
AnalyzingInfixSuggester directory, if it exists.
- AnalyzingInfixSuggester(Directory, Analyzer, Analyzer, int, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Create a new instance, loading from a previously built
AnalyzingInfixSuggester directory, if it exists.
- AnalyzingInfixSuggester(Directory, Analyzer, Analyzer, int, boolean, boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Create a new instance, loading from a previously built
AnalyzingInfixSuggester directory, if it exists.
- AnalyzingInfixSuggester(Directory, Analyzer, Analyzer, int, boolean, boolean, boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Create a new instance, loading from a previously built
AnalyzingInfixSuggester directory, if it exists.
- AnalyzingSuggester - Class in org.apache.lucene.search.suggest.analyzing
-
Suggester that first analyzes the surface form, adds the
analyzed form to a weighted FST, and then does the same
thing at lookup time.
- AnalyzingSuggester(Directory, String, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- AnalyzingSuggester(Directory, String, Analyzer, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- AnalyzingSuggester(Directory, String, Analyzer, Analyzer, int, int, int, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
Creates a new suggester.
- balancedTree(Object[], Object[], int, int, TernaryTreeNode) - Method in class org.apache.lucene.search.suggest.tst.TSTAutocomplete
-
Inserting keys in TST in the order middle,small,big (lexicographic measure)
recursively creates a balanced tree which reduces insertion and search
times significantly.
- BitsProducer - Class in org.apache.lucene.search.suggest
-
A producer of Bits per segment.
- BitsProducer() - Constructor for class org.apache.lucene.search.suggest.BitsProducer
-
Sole constructor, typically invoked by sub-classes.
- BlendedInfixSuggester - Class in org.apache.lucene.search.suggest.analyzing
-
Extension of the AnalyzingInfixSuggester which transforms the weight
after search to take into account the position of the searched term into
the indexed text.
- BlendedInfixSuggester(Directory, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Create a new instance, loading from a previously built
directory, if it exists.
- BlendedInfixSuggester(Directory, Analyzer, Analyzer, int, BlendedInfixSuggester.BlenderType, int, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Create a new instance, loading from a previously built
directory, if it exists.
- BlendedInfixSuggester(Directory, Analyzer, Analyzer, int, BlendedInfixSuggester.BlenderType, int, Double, boolean, boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Create a new instance, loading from a previously built
directory, if it exists.
- BlendedInfixSuggester.BlenderType - Enum in org.apache.lucene.search.suggest.analyzing
-
The different types of blender.
- boost - Variable in class org.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
-
The boost representing the similarity from the FuzzyTermsEnum (internal similarity score)
- boost() - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
- bucket - Variable in class org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
-
source bucket (weight) of the suggestion
- BufferedInputIterator - Class in org.apache.lucene.search.suggest
-
This wrapper buffers incoming elements.
- BufferedInputIterator(InputIterator) - Constructor for class org.apache.lucene.search.suggest.BufferedInputIterator
-
Creates a new iterator, buffering entries from the specified iterator
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- build(InputIterator, double) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Build the suggest index, using up to the specified
amount of temporary RAM while building.
- build() - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionBuilder
-
Builds the final automaton from a list of added entries.
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
- build(Dictionary) - Method in class org.apache.lucene.search.suggest.Lookup
-
Build lookup from a dictionary.
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.Lookup
-
- build(InputIterator) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
- bulkScorer(LeafReaderContext) - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
- BytesRefSorter - Interface in org.apache.lucene.search.suggest.fst
-
Collects BytesRef and then allows one to iterate over their sorted order.
- calculateCoefficient(int) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Calculate the weight coefficient based on the position of the first matching word.
- CHARSEQUENCE_COMPARATOR - Static variable in class org.apache.lucene.search.suggest.Lookup
-
A simple char-by-char comparator for CharSequence
- clearIndex() - Method in class org.apache.lucene.search.spell.SpellChecker
-
Removes all terms from the spell check index.
- close() - Method in class org.apache.lucene.search.spell.SpellChecker
-
Close the IndexSearcher used by this SpellChecker
- close() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- close() - Method in class org.apache.lucene.search.suggest.fst.ExternalRefSorter
-
Removes any written temporary files.
- CODEC_NAME - Static variable in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Codec name used in the header for the saved model.
- collect(int, CharSequence, CharSequence, float) - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Called for every matched completion,
similar to org.apache.lucene.search.LeafCollector#collect(int)
but for completions.
- collect(int) - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Ignored
- CombineSuggestion - Class in org.apache.lucene.search.spell
-
A suggestion generated by combining one or more original query terms
- CombineSuggestion(SuggestWord, int[]) - Constructor for class org.apache.lucene.search.spell.CombineSuggestion
-
Creates a new CombineSuggestion from a suggestion and
an array of term ids (referencing the indexes to the original terms that
form this combined suggestion)
- commit() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Commits all pending changes made to this suggester to disk.
- compare(SuggestWord, SuggestWord) - Method in class org.apache.lucene.search.spell.SuggestWordFrequencyComparator
-
- compare(SuggestWord, SuggestWord) - Method in class org.apache.lucene.search.spell.SuggestWordScoreComparator
-
- compareTo(DirectSpellChecker.ScoreTerm) - Method in class org.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
-
- compareTo(TopSuggestDocs.SuggestScoreDoc) - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocs.SuggestScoreDoc
-
- compareTo(FSTCompletion.Completion) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletion.Completion
-
- compareTo(Lookup.LookupResult) - Method in class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Compare alphabetically.
- Completion50PostingsFormat - Class in org.apache.lucene.search.suggest.document
-
- Completion50PostingsFormat() - Constructor for class org.apache.lucene.search.suggest.document.Completion50PostingsFormat
-
- Completion50PostingsFormat(CompletionPostingsFormat.FSTLoadMode) - Constructor for class org.apache.lucene.search.suggest.document.Completion50PostingsFormat
-
Creates a
Completion50PostingsFormat that will
use the provided
fstLoadMode to determine
if the completion FST should be loaded on or off heap.
- Completion84PostingsFormat - Class in org.apache.lucene.search.suggest.document
-
- Completion84PostingsFormat() - Constructor for class org.apache.lucene.search.suggest.document.Completion84PostingsFormat
-
- Completion84PostingsFormat(CompletionPostingsFormat.FSTLoadMode) - Constructor for class org.apache.lucene.search.suggest.document.Completion84PostingsFormat
-
Creates a
Completion84PostingsFormat that will
use the provided
fstLoadMode to determine
if the completion FST should be loaded on or off heap.
- CompletionAnalyzer - Class in org.apache.lucene.search.suggest.document
-
Wraps an org.apache.lucene.analysis.Analyzer
to provide additional completion-only tuning
(e.g.
- CompletionAnalyzer(Analyzer, boolean, boolean, int) - Constructor for class org.apache.lucene.search.suggest.document.CompletionAnalyzer
-
Wraps an analyzer to convert its output token stream to an automaton
- CompletionAnalyzer(Analyzer) - Constructor for class org.apache.lucene.search.suggest.document.CompletionAnalyzer
-
Calls #CompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
preserving token separation, position increments and no limit on graph expansions
- CompletionAnalyzer(Analyzer, boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.document.CompletionAnalyzer
-
Calls #CompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
with no limit on graph expansions
- CompletionAnalyzer(Analyzer, int) - Constructor for class org.apache.lucene.search.suggest.document.CompletionAnalyzer
-
Calls #CompletionAnalyzer(org.apache.lucene.analysis.Analyzer, boolean, boolean, int)
preserving token separation and position increments
- CompletionPostingsFormat - Class in org.apache.lucene.search.suggest.document
-
A
PostingsFormat which supports document suggestion based on
indexed
SuggestFields.
- CompletionPostingsFormat(String) - Constructor for class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
Used only by core Lucene at read-time via Service Provider instantiation
- CompletionPostingsFormat(String, CompletionPostingsFormat.FSTLoadMode) - Constructor for class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
Creates a
CompletionPostingsFormat that will
use the provided
fstLoadMode to determine
if the completion FST should be loaded on or off heap.
- CompletionPostingsFormat.FSTLoadMode - Enum in org.apache.lucene.search.suggest.document
-
An enum that allows to control if suggester FSTs are loaded into memory or read off-heap
- CompletionQuery - Class in org.apache.lucene.search.suggest.document
-
Abstract
Query that match documents containing terms with a specified prefix
filtered by
BitsProducer.
- CompletionQuery(Term, BitsProducer) - Constructor for class org.apache.lucene.search.suggest.document.CompletionQuery
-
Creates a base Completion query against a term
with a filter to scope the documents
- CompletionScorer - Class in org.apache.lucene.search.suggest.document
-
Expert: Responsible for executing the query against an
appropriate suggester and collecting the results
via a collector.
- CompletionScorer(CompletionWeight, NRTSuggester, LeafReader, Bits, boolean, Automaton) - Constructor for class org.apache.lucene.search.suggest.document.CompletionScorer
-
Creates a scorer for a field-specific suggester scoped by acceptDocs
- CompletionsTermsReader - Class in org.apache.lucene.search.suggest.document
-
Holder for suggester and field-level info
for a suggest field
- CompletionTerms - Class in org.apache.lucene.search.suggest.document
-
- CompletionTokenStream - Class in org.apache.lucene.search.suggest.document
-
A ConcatenateGraphFilter but we can set the payload and provide access to config options.
- CompletionWeight - Class in org.apache.lucene.search.suggest.document
-
Expert: the Weight for CompletionQuery, used to
score and explain these queries.
- CompletionWeight(CompletionQuery, Automaton) - Constructor for class org.apache.lucene.search.suggest.document.CompletionWeight
-
Creates a weight for query with an automaton,
using the reader for index stats
- context() - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
- context - Variable in class org.apache.lucene.search.suggest.document.TopSuggestDocs.SuggestScoreDoc
-
Context for the completion
- CONTEXT_SEPARATOR - Static variable in class org.apache.lucene.search.suggest.document.ContextSuggestField
-
Separator used between context value and the suggest field value
- ContextQuery - Class in org.apache.lucene.search.suggest.document
-
- ContextQuery(CompletionQuery) - Constructor for class org.apache.lucene.search.suggest.document.ContextQuery
-
Constructs a context completion query that matches
documents specified by query.
- contexts() - Method in class org.apache.lucene.search.suggest.BufferedInputIterator
-
- contexts() - Method in class org.apache.lucene.search.suggest.document.ContextSuggestField
-
Expert: Sub-classes can inject contexts at
index-time
- contexts() - Method in class org.apache.lucene.search.suggest.DocumentDictionary.DocumentInputIterator
-
- contexts() - Method in interface org.apache.lucene.search.suggest.InputIterator
-
A term's contexts context can be used to filter suggestions.
- contexts() - Method in class org.apache.lucene.search.suggest.InputIterator.InputIteratorWrapper
-
- contexts - Variable in class org.apache.lucene.search.suggest.Lookup.LookupResult
-
the key's contexts (null if not present)
- contexts() - Method in class org.apache.lucene.search.suggest.SortedInputIterator
-
- contexts() - Method in class org.apache.lucene.search.suggest.UnsortedInputIterator
-
- CONTEXTS_FIELD_NAME - Static variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Field name used for the indexed context, as a
StringField and a SortedSetDVField, for filtering.
- contextSets - Variable in class org.apache.lucene.search.suggest.BufferedInputIterator
-
buffered context set entries
- contextsField - Variable in class org.apache.lucene.search.suggest.DocumentDictionary
-
Field to read contexts from
- ContextSuggestField - Class in org.apache.lucene.search.suggest.document
-
- ContextSuggestField(String, String, int, CharSequence...) - Constructor for class org.apache.lucene.search.suggest.document.ContextSuggestField
-
Creates a context-enabled suggest field
- convertAutomaton(Automaton) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
Used by subclass to change the lookup automaton, if
necessary.
- convertAutomaton(Automaton) - Method in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
- cost() - Method in class org.apache.lucene.search.suggest.document.CompletionScorer
-
- create(TokenStream) - Method in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
- createResults(IndexSearcher, TopFieldDocs, int, CharSequence, boolean, Set<String>, String) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Create the results based on the search hits.
- createResults(IndexSearcher, TopFieldDocs, int, CharSequence, boolean, Set<String>, String) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.suggest.document.ContextQuery
-
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.suggest.document.PrefixCompletionQuery
-
- createWeight(IndexSearcher, ScoreMode, float) - Method in class org.apache.lucene.search.suggest.document.RegexCompletionQuery
-
- curPos - Variable in class org.apache.lucene.search.suggest.BufferedInputIterator
-
current buffer position
- data - Variable in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie.TSTNode
-
Deprecated.
The key to the node.
- decode(BytesRef, ByteArrayDataInput) - Method in class org.apache.lucene.search.suggest.SortedInputIterator
-
decodes the weight at the current position
- decodeContexts(BytesRef, ByteArrayDataInput) - Method in class org.apache.lucene.search.suggest.SortedInputIterator
-
decodes the contexts at the current position
- decodePayload(BytesRef, ByteArrayDataInput) - Method in class org.apache.lucene.search.suggest.SortedInputIterator
-
decodes the payload at the current position
- DEFAULT_ACCURACY - Static variable in class org.apache.lucene.search.spell.SpellChecker
-
- DEFAULT_ALL_TERMS_REQUIRED - Static variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Default boolean clause option for multiple terms matching (all terms required).
- DEFAULT_BUCKETS - Static variable in class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Default number of buckets.
- DEFAULT_BUCKETS - Static variable in class org.apache.lucene.search.suggest.fst.FSTCompletionBuilder
-
Default number of buckets.
- DEFAULT_CLOSE_INDEXWRITER_ON_BUILD - Static variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Default option to close the IndexWriter once the index has been built.
- DEFAULT_COMPARATOR - Static variable in class org.apache.lucene.search.spell.SuggestWordQueue
-
Default comparator: score then frequency.
- DEFAULT_FIELD_DELIMITER - Static variable in class org.apache.lucene.search.suggest.FileDictionary
-
Tab-delimited fields are most common thus the default, but one can override this via the constructor
- DEFAULT_GRAMS - Static variable in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
By default we use a bigram model.
- DEFAULT_HIGHLIGHT - Static variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Default higlighting option.
- DEFAULT_MAX_EDITS - Static variable in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
The default maximum number of edits for fuzzy
suggestions.
- DEFAULT_MAX_EDITS - Static variable in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
The default maximum number of edits for fuzzy
suggestions.
- DEFAULT_MIN_FUZZY_LENGTH - Static variable in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
- DEFAULT_MIN_FUZZY_LENGTH - Static variable in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
The default minimum length of the key before any edits are allowed.
- DEFAULT_MIN_PREFIX_CHARS - Static variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Default minimum number of leading characters before
PrefixQuery is used (4).
- DEFAULT_NON_FUZZY_PREFIX - Static variable in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
The default prefix length where edits are not allowed.
- DEFAULT_NON_FUZZY_PREFIX - Static variable in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
The default prefix length where edits are not allowed.
- DEFAULT_NUM_FACTOR - Static variable in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Default factor
- DEFAULT_SEPARATOR - Static variable in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
The default character used to join multiple tokens
into a single ngram token.
- DEFAULT_TRANSPOSITIONS - Static variable in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
The default transposition value passed to LevenshteinAutomata
- DEFAULT_TRANSPOSITIONS - Static variable in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
The default transposition value passed to LevenshteinAutomata
- DEFAULT_UNICODE_AWARE - Static variable in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
Measure maxEdits, minFuzzyLength, transpositions and nonFuzzyPrefix
parameters in Unicode code points (actual letters)
instead of bytes.
- DEFAULT_UNICODE_AWARE - Static variable in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Measure maxEdits, minFuzzyLength, transpositions and nonFuzzyPrefix
parameters in Unicode code points (actual letters)
instead of bytes.
- delegatePostingsFormat() - Method in class org.apache.lucene.search.suggest.document.Completion50PostingsFormat
-
- delegatePostingsFormat() - Method in class org.apache.lucene.search.suggest.document.Completion84PostingsFormat
-
- delegatePostingsFormat() - Method in class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
Concrete implementation should specify the delegating postings format
- Dictionary - Interface in org.apache.lucene.search.spell
-
A simple interface representing a Dictionary.
- DirectSpellChecker - Class in org.apache.lucene.search.spell
-
Simple automaton-based spellchecker.
- DirectSpellChecker() - Constructor for class org.apache.lucene.search.spell.DirectSpellChecker
-
Creates a DirectSpellChecker with default configuration values
- DirectSpellChecker.ScoreTerm - Class in org.apache.lucene.search.spell
-
- docBase - Variable in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Document base offset for the current Leaf
- docfreq - Variable in class org.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
-
The df of the spellcheck correction.
- DocumentDictionary - Class in org.apache.lucene.search.suggest
-
Dictionary with terms, weights, payload (optional) and contexts (optional)
information taken from stored/indexed fields in a Lucene index.
- DocumentDictionary(IndexReader, String, String) - Constructor for class org.apache.lucene.search.suggest.DocumentDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms and weightField for the weights that will be used for
the corresponding terms.
- DocumentDictionary(IndexReader, String, String, String) - Constructor for class org.apache.lucene.search.suggest.DocumentDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms, weightField for the weights that will be used for the
the corresponding terms and payloadField for the corresponding payloads
for the entry.
- DocumentDictionary(IndexReader, String, String, String, String) - Constructor for class org.apache.lucene.search.suggest.DocumentDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms, weightField for the weights that will be used for the
the corresponding terms, payloadField for the corresponding payloads
for the entry and contextsField for associated contexts.
- DocumentDictionary.DocumentInputIterator - Class in org.apache.lucene.search.suggest
-
- DocumentInputIterator(boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.DocumentDictionary.DocumentInputIterator
-
Creates an iterator over term, weight and payload fields from the lucene
index.
- DocumentValueSourceDictionary - Class in org.apache.lucene.search.suggest
-
Dictionary with terms and optionally payload and
optionally contexts information
taken from stored fields in a Lucene index.
- DocumentValueSourceDictionary(IndexReader, String, LongValuesSource, String, String) - Constructor for class org.apache.lucene.search.suggest.DocumentValueSourceDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms, payload for the corresponding payloads, contexts
for the associated contexts and uses the weightsValueSource supplied
to determine the score.
- DocumentValueSourceDictionary(IndexReader, String, LongValuesSource, String) - Constructor for class org.apache.lucene.search.suggest.DocumentValueSourceDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms, payloadField for the corresponding payloads
and uses the weightsValueSource supplied to determine the
score.
- DocumentValueSourceDictionary(IndexReader, String, LongValuesSource) - Constructor for class org.apache.lucene.search.suggest.DocumentValueSourceDictionary
-
Creates a new dictionary with the contents of the fields named field
for the terms and uses the weightsValueSource supplied to determine the
score.
- doSetNextReader(LeafReaderContext) - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
- doSkipDuplicates() - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Returns true if duplicates are filtered out
- F_WORD - Static variable in class org.apache.lucene.search.spell.SpellChecker
-
Field name for each word in the ngram index.
- FIELD_TYPE - Static variable in class org.apache.lucene.search.suggest.document.SuggestField
-
Default field type for suggest field
- fieldsConsumer(SegmentWriteState) - Method in class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
- fieldsProducer(SegmentReadState) - Method in class org.apache.lucene.search.suggest.document.CompletionPostingsFormat
-
- FileDictionary - Class in org.apache.lucene.search.suggest
-
Dictionary represented by a text file.
- FileDictionary(InputStream) - Constructor for class org.apache.lucene.search.suggest.FileDictionary
-
Creates a dictionary based on an inputstream.
- FileDictionary(Reader) - Constructor for class org.apache.lucene.search.suggest.FileDictionary
-
Creates a dictionary based on a reader.
- FileDictionary(Reader, String) - Constructor for class org.apache.lucene.search.suggest.FileDictionary
-
Creates a dictionary based on a reader.
- FileDictionary(InputStream, String) - Constructor for class org.apache.lucene.search.suggest.FileDictionary
-
Creates a dictionary based on an inputstream.
- finishQuery(BooleanQuery.Builder, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Subclass can override this to tweak the Query before
searching.
- FORMAT_SNOWBALL - Static variable in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
multiple words may be specified on each line, trailing comments start with "|"
- FORMAT_WORDSET - Static variable in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
the default format, one word per line, whole line comments start with "#"
- FreeTextSuggester - Class in org.apache.lucene.search.suggest.analyzing
-
- FreeTextSuggester(Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Instantiate, using the provided analyzer for both
indexing and lookup, using bigram model by default.
- FreeTextSuggester(Analyzer, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Instantiate, using the provided indexing and lookup
analyzers, using bigram model by default.
- FreeTextSuggester(Analyzer, Analyzer, int) - Constructor for class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Instantiate, using the provided indexing and lookup
analyzers, with the specified model (2
= bigram, 3 = trigram, etc.).
- FreeTextSuggester(Analyzer, Analyzer, int, byte) - Constructor for class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Instantiate, using the provided indexing and lookup
analyzers, and specified model (2 = bigram, 3 =
trigram ,etc.).
- freq - Variable in class org.apache.lucene.search.spell.SuggestWord
-
The freq of the word
- freqs - Variable in class org.apache.lucene.search.suggest.BufferedInputIterator
-
- FSTCompletion - Class in org.apache.lucene.search.suggest.fst
-
Finite state automata based implementation of "autocomplete" functionality.
- FSTCompletion(<any>, boolean, boolean) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Constructs an FSTCompletion, specifying higherWeightsFirst and exactFirst.
- FSTCompletion(<any>) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Defaults to higher weights first and exact first.
- FSTCompletion.Completion - Class in org.apache.lucene.search.suggest.fst
-
A single completion for a given key.
- FSTCompletionBuilder - Class in org.apache.lucene.search.suggest.fst
-
Finite state automata based implementation of "autocomplete" functionality.
- FSTCompletionBuilder() - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionBuilder
-
Creates an
FSTCompletion with default options: 10 buckets, exact match
promoted to first position and
InMemorySorter with a comparator obtained from
Comparator.naturalOrder().
- FSTCompletionBuilder(int, BytesRefSorter, int) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionBuilder
-
Creates an FSTCompletion with the specified options.
- FSTCompletionLookup - Class in org.apache.lucene.search.suggest.fst
-
- FSTCompletionLookup() - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
This constructor should only be used to read a previously saved suggester.
- FSTCompletionLookup(Directory, String) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- FSTCompletionLookup(Directory, String, int, boolean) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- FSTCompletionLookup(Directory, String, FSTCompletion, boolean) - Constructor for class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
This constructor takes a pre-built automaton.
- fstNode - Variable in class org.apache.lucene.search.suggest.analyzing.FSTUtil.Path
-
Node in the FST where path ends:
- FSTUtil - Class in org.apache.lucene.search.suggest.analyzing
-
Exposes a utility method to enumerate all paths
intersecting an Automaton with an FST.
- FSTUtil.Path<T> - Class in org.apache.lucene.search.suggest.analyzing
-
Holds a pair (automaton, fst) of states and accumulated output in the intersected machine.
- FuzzyCompletionQuery - Class in org.apache.lucene.search.suggest.document
-
A
CompletionQuery that match documents containing terms
within an edit distance of the specified prefix.
- FuzzyCompletionQuery(Analyzer, Term) - Constructor for class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
- FuzzyCompletionQuery(Analyzer, Term, BitsProducer) - Constructor for class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Calls
FuzzyCompletionQuery.FuzzyCompletionQuery(Analyzer, Term, BitsProducer,
int, boolean, int, int, boolean, int)
with defaults for
maxEdits,
transpositions,
nonFuzzyPrefix,
minFuzzyLength,
unicodeAware and
maxDeterminizedStates
See
FuzzyCompletionQuery.DEFAULT_MAX_EDITS,
FuzzyCompletionQuery.DEFAULT_TRANSPOSITIONS,
FuzzyCompletionQuery.DEFAULT_NON_FUZZY_PREFIX,
FuzzyCompletionQuery.DEFAULT_MIN_FUZZY_LENGTH,
FuzzyCompletionQuery.DEFAULT_UNICODE_AWARE and
Operations#DEFAULT_MAX_DETERMINIZED_STATES
for defaults
- FuzzyCompletionQuery(Analyzer, Term, BitsProducer, int, boolean, int, int, boolean, int) - Constructor for class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Constructs an analyzed fuzzy prefix completion query
- FuzzySuggester - Class in org.apache.lucene.search.suggest.analyzing
-
- FuzzySuggester(Directory, String, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
- FuzzySuggester(Directory, String, Analyzer, Analyzer) - Constructor for class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
Creates a
FuzzySuggester instance with an index and query analyzer initialized with default values.
- FuzzySuggester(Directory, String, Analyzer, Analyzer, int, int, int, boolean, int, boolean, int, int, boolean) - Constructor for class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
Returns the weight associated with an input string,
or null if it does not exist.
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Returns the weight associated with an input string,
or null if it does not exist.
- get() - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
Returns the bucket (weight) as a Long for the provided key if it exists,
otherwise null if it does not.
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
Returns the weight associated with an input string,
or null if it does not exist.
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
Returns the value for the specified key, or null
if the key does not exist.
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Retrieve the object indexed by a key.
- get(CharSequence) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
Returns the value for the specified key, or null
if the key does not exist.
- getAccuracy() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the minimal accuracy from the StringDistance for a match
- getAccuracy() - Method in class org.apache.lucene.search.spell.SpellChecker
-
- getAnalyzer() - Method in class org.apache.lucene.search.suggest.document.PrefixCompletionQuery
-
Gets the analyzer used to analyze the prefix.
- getAndIncrement(String) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Retrieve the Float indexed by key, increment it by one unit
and store the new Float.
- getAutomaton() - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
- getBits(LeafReaderContext) - Method in class org.apache.lucene.search.suggest.BitsProducer
-
Return Bits for the given leaf.
- getBucket(CharSequence) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Returns the bucket assigned to a given key (if found) or -1 if
no exact match exists.
- getBucketCount() - Method in class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Returns the bucket count (discretization thresholds).
- getChildResources() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.document.CompletionsTermsReader
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.document.NRTSuggester
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- getChildResources() - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- getComparator() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the current comparator in use.
- getComparator() - Method in class org.apache.lucene.search.spell.SpellChecker
-
Gets the comparator in use for ranking suggestions.
- getComparator() - Method in interface org.apache.lucene.search.suggest.fst.BytesRefSorter
-
Comparator used to determine the sort order of entries.
- getComparator() - Method in class org.apache.lucene.search.suggest.fst.ExternalRefSorter
-
- getComparator() - Method in class org.apache.lucene.search.suggest.InMemorySorter
-
- getCount() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- getCount() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- getCount() - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- getCount() - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- getCount() - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- getCount() - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
- getCount() - Method in class org.apache.lucene.search.suggest.Lookup
-
Get the number of entries the lookup was built with
- getCount() - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
- getCountToCollect() - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Returns the number of results to be collected
- getDirectory(Path) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Subclass can override to choose a specific Directory implementation.
- getDistance() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the string distance metric in use.
- getDistance(String, String) - Method in class org.apache.lucene.search.spell.JaroWinklerDistance
-
- getDistance(String, String) - Method in class org.apache.lucene.search.spell.LevenshteinDistance
-
- getDistance(String, String) - Method in class org.apache.lucene.search.spell.LuceneLevenshteinDistance
-
- getDistance(String, String) - Method in class org.apache.lucene.search.spell.NGramDistance
-
- getDistance(String, String) - Method in interface org.apache.lucene.search.spell.StringDistance
-
Returns a float between 0 and 1 based on how similar the specified strings are to one another.
- getEntryIterator() - Method in interface org.apache.lucene.search.spell.Dictionary
-
Returns an iterator over all the entries
- getEntryIterator() - Method in class org.apache.lucene.search.spell.HighFrequencyDictionary
-
- getEntryIterator() - Method in class org.apache.lucene.search.spell.LuceneDictionary
-
- getEntryIterator() - Method in class org.apache.lucene.search.spell.PlainTextDictionary
-
- getEntryIterator() - Method in class org.apache.lucene.search.suggest.DocumentDictionary
-
- getEntryIterator() - Method in class org.apache.lucene.search.suggest.DocumentValueSourceDictionary
-
- getEntryIterator() - Method in class org.apache.lucene.search.suggest.FileDictionary
-
- getField() - Method in class org.apache.lucene.search.suggest.document.CompletionQuery
-
Returns the field name this query should
be run against
- getFilter() - Method in class org.apache.lucene.search.suggest.document.CompletionQuery
-
- getFlags() - Method in class org.apache.lucene.search.suggest.document.RegexCompletionQuery
-
Get the regex flags
- getFST() - Method in class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Returns the internal automaton.
- getFullPrefixPaths(List<FSTUtil.Path<<any>>>, Automaton, <any>) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
Returns all prefix paths to initialize the search.
- getFullPrefixPaths(List<FSTUtil.Path<<any>>>, Automaton, <any>) - Method in class org.apache.lucene.search.suggest.analyzing.FuzzySuggester
-
- getIndexWriterConfig(Analyzer, IndexWriterConfig.OpenMode) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Override this to customize index settings, e.g.
- getKey(JaspellTernarySearchTrie.TSTNode) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Returns the key that indexes the node argument.
- getLastTokenQuery(String) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
This is called if the last token isn't ended
(e.g.
- getLowerCaseTerms() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
true if the spellchecker should lowercase terms
- getMaxChanges() - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Returns the maximum number of changes to perform on the input
- getMaxCombineWordLength() - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Returns the maximum length of a combined suggestion
- getMaxDeterminizedStates() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Get the maximum number of determinized states permitted
- getMaxDeterminizedStates() - Method in class org.apache.lucene.search.suggest.document.RegexCompletionQuery
-
Get the maximum number of states permitted in the determinized automaton
- getMaxEdits() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the maximum number of Levenshtein edit-distances to draw
candidate terms from.
- getMaxEdits() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Get the maximum edit distance for fuzzy matches
- getMaxEvaluations() - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Returns the maximum number of word combinations to evaluate.
- getMaxInspections() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the maximum number of top-N inspections per suggestion
- getMaxQueryFrequency() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the maximum threshold of documents a query term can appear in order
to provide suggestions.
- getMaxWeight() - Method in class org.apache.lucene.search.suggest.document.CompletionTerms
-
Returns the maximum weight of all entries in the weighted FST
- getMinBreakWordLength() - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Returns the minimum size of a broken word
- getMinFuzzyLength() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Get the minimum length of a term considered for matching
- getMinPrefix() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the minimal number of characters that must match exactly
- getMinQueryLength() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the minimum length of a query term needed to return suggestions
- getMinSuggestionFrequency() - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Returns the minimum frequency a term must have
to be part of a suggestion.
- getMinWeight() - Method in class org.apache.lucene.search.suggest.document.CompletionTerms
-
Returns the minimum weight of all entries in the weighted FST
- getNode(CharSequence) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Returns the node indexed by key, or null if that node doesn't
exist.
- getNode(CharSequence, JaspellTernarySearchTrie.TSTNode) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Returns the node indexed by key, or null if that node doesn't
exist.
- getNonFuzzyPrefix() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Get the length of a prefix where no edits are permitted
- getOrCreateNode(CharSequence) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Returns the node indexed by key, creating that node if it doesn't exist,
and creating any required intermediate nodes if they don't exist.
- getResults() - Method in class org.apache.lucene.search.suggest.Lookup.LookupPriorityQueue
-
Returns the top N results in descending order.
- getStopWords() - Method in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
Returns the configured stopword set
- getStringDistance() - Method in class org.apache.lucene.search.spell.SpellChecker
-
- getTerm() - Method in class org.apache.lucene.search.suggest.document.CompletionQuery
-
Returns the term to be queried against
- getTextFieldType() - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Subclass can override this method to change the field type of the text field
e.g.
- getTextFieldType() - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- getThreshold() - Method in class org.apache.lucene.search.spell.JaroWinklerDistance
-
Returns the current value of the threshold used for adding the Winkler bonus.
- getThresholdFrequency() - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Get the minimal threshold of documents a term must appear for a match
- getType() - Method in class org.apache.lucene.search.suggest.document.CompletionTerms
-
- getWeight(Document, int) - Method in class org.apache.lucene.search.suggest.DocumentDictionary.DocumentInputIterator
-
Returns the value of the weightField for the current document.
- getWrappedAnalyzer(String) - Method in class org.apache.lucene.search.suggest.document.CompletionAnalyzer
-
- incrementToken() - Method in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilter
-
- incrementToken() - Method in class org.apache.lucene.search.suggest.document.CompletionTokenStream
-
- indexAnalyzer - Variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Analyzer used at index time
- indexDictionary(Dictionary, IndexWriterConfig, boolean) - Method in class org.apache.lucene.search.spell.SpellChecker
-
- inform(ResourceLoader) - Method in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
- InMemorySorter - Class in org.apache.lucene.search.suggest
-
- InMemorySorter(Comparator<BytesRef>) - Constructor for class org.apache.lucene.search.suggest.InMemorySorter
-
Creates an InMemorySorter, sorting entries by the
provided comparator.
- innerQuery - Variable in class org.apache.lucene.search.suggest.document.ContextQuery
-
Inner completion query
- input - Variable in class org.apache.lucene.search.suggest.analyzing.FSTUtil.Path
-
Input of the path so far:
- InputIterator - Interface in org.apache.lucene.search.suggest
-
- InputIterator.InputIteratorWrapper - Class in org.apache.lucene.search.suggest
-
Wraps a BytesRefIterator as a suggester InputIterator, with all weights
set to 1 and carries no payload
- InputIteratorWrapper(BytesRefIterator) - Constructor for class org.apache.lucene.search.suggest.InputIterator.InputIteratorWrapper
-
Creates a new wrapper, wrapping the specified iterator and
specifying a weight value of 1 for all terms
and nullifies associated payloads.
- insert(TernaryTreeNode, CharSequence, Object, int) - Method in class org.apache.lucene.search.suggest.tst.TSTAutocomplete
-
Inserts a key in TST creating a series of Binary Search Trees at each node.
- INTERNAL_LEVENSHTEIN - Static variable in class org.apache.lucene.search.spell.DirectSpellChecker
-
The default StringDistance, Damerau-Levenshtein distance implemented internally
via LevenshteinAutomata.
- intersectPrefixPaths(Automaton, <any>) - Static method in class org.apache.lucene.search.suggest.analyzing.FSTUtil
-
Enumerates all minimal prefix paths in the automaton that also intersect the FST,
accumulating the FST end node and output for each path.
- isCacheable(LeafReaderContext) - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
This object can be cached
- isIgnoreCase() - Method in class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
Whether or not to ignore case
- isTranspositions() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Return whether transpositions count as a single edit
- isUnicodeAware() - Method in class org.apache.lucene.search.suggest.document.FuzzyCompletionQuery
-
Return true if lengths are measured in unicode code-points rather than bytes
- iterator() - Method in interface org.apache.lucene.search.suggest.fst.BytesRefSorter
-
- iterator() - Method in class org.apache.lucene.search.suggest.fst.ExternalRefSorter
-
- iterator() - Method in class org.apache.lucene.search.suggest.InMemorySorter
-
- lessThan(SuggestWord, SuggestWord) - Method in class org.apache.lucene.search.spell.SuggestWordQueue
-
- lessThan(Lookup.LookupResult, Lookup.LookupResult) - Method in class org.apache.lucene.search.suggest.Lookup.LookupPriorityQueue
-
- LevenshteinDistance - Class in org.apache.lucene.search.spell
-
Levenshtein edit distance class.
- LevenshteinDistance() - Constructor for class org.apache.lucene.search.spell.LevenshteinDistance
-
Optimized to run a bit faster than the static getDistance().
- LINEAR_COEF - Static variable in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
Coefficient used for linear blending
- load(DataInput) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- load(DataInput) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- load(DataInput) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- load(IndexInput, CompletionPostingsFormat.FSTLoadMode) - Static method in class org.apache.lucene.search.suggest.document.NRTSuggester
-
Loads a
NRTSuggester from
org.apache.lucene.store.IndexInput on or off-heap
depending on the provided
fstLoadMode
- load(DataInput) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- load(DataInput) - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- load(DataInput) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
- load(InputStream) - Method in class org.apache.lucene.search.suggest.Lookup
-
- load(DataInput) - Method in class org.apache.lucene.search.suggest.Lookup
-
Discard current lookup data and load it from a previously saved copy.
- load(DataInput) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
- LOKID - Static variable in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie.TSTNode
-
Deprecated.
Index values for accessing relatives array.
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- lookup(CharSequence, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Lookup, without any context.
- lookup(CharSequence, Set<BytesRef>, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Lookup, with context but without booleans.
- lookup(CharSequence, Map<BytesRef, BooleanClause.Occur>, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Retrieve suggestions, specifying whether all terms
must match (allTermsRequired) and whether the hits
should be highlighted (doHighlight).
- lookup(CharSequence, BooleanQuery, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
This is an advanced method providing the capability to send down to the suggester any
arbitrary lucene query to be used to filter the result of the suggester
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- lookup(CharSequence, Set<BytesRef>, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- lookup(CharSequence, Map<BytesRef, BooleanClause.Occur>, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- lookup(CharSequence, BooleanQuery, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.analyzing.BlendedInfixSuggester
-
- lookup(CharSequence, boolean, int) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- lookup(CharSequence, int) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Lookup, without any context.
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- lookup(CharSequence, Set<BytesRef>, int) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
Retrieve suggestions.
- lookup(CompletionScorer, Bits, TopSuggestDocsCollector) - Method in class org.apache.lucene.search.suggest.document.NRTSuggester
-
- lookup(CharSequence, int) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletion
-
Lookup suggestions to key.
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
- Lookup - Class in org.apache.lucene.search.suggest
-
Simple Lookup interface for CharSequence suggestions.
- Lookup() - Constructor for class org.apache.lucene.search.suggest.Lookup
-
Sole constructor.
- lookup(CharSequence, boolean, int) - Method in class org.apache.lucene.search.suggest.Lookup
-
Look up a key and return possible completion for this key.
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.Lookup
-
Look up a key and return possible completion for this key.
- lookup(CharSequence, BooleanQuery, int, boolean, boolean) - Method in class org.apache.lucene.search.suggest.Lookup
-
Look up a key and return possible completion for this key.
- lookup(CharSequence, Set<BytesRef>, boolean, int) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
- Lookup.LookupPriorityQueue - Class in org.apache.lucene.search.suggest
-
- Lookup.LookupResult - Class in org.apache.lucene.search.suggest
-
Result of a lookup.
- LookupPriorityQueue(int) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupPriorityQueue
-
Creates a new priority queue of the specified size.
- LookupResult(CharSequence, long) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+weight pair.
- LookupResult(CharSequence, long, BytesRef) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+weight+payload triple.
- LookupResult(CharSequence, Object, long, BytesRef) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+highlightKey+weight+payload triple.
- LookupResult(CharSequence, long, BytesRef, Set<BytesRef>) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+weight+payload+contexts triple.
- LookupResult(CharSequence, long, Set<BytesRef>) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+weight+contexts triple.
- LookupResult(CharSequence, Object, long, BytesRef, Set<BytesRef>) - Constructor for class org.apache.lucene.search.suggest.Lookup.LookupResult
-
Create a new result from a key+highlightKey+weight+payload+contexts triple.
- LuceneDictionary - Class in org.apache.lucene.search.spell
-
Lucene Dictionary: terms taken from the given field
of a Lucene index.
- LuceneDictionary(IndexReader, String) - Constructor for class org.apache.lucene.search.spell.LuceneDictionary
-
Creates a new Dictionary, pulling source terms from
the specified field in the provided reader
- LuceneLevenshteinDistance - Class in org.apache.lucene.search.spell
-
Damerau-Levenshtein (optimal string alignment) implemented in a consistent
way as Lucene's FuzzyTermsEnum with the transpositions option enabled.
- LuceneLevenshteinDistance() - Constructor for class org.apache.lucene.search.spell.LuceneLevenshteinDistance
-
Creates a new comparator, mimicing the behavior of Lucene's internal
edit distance.
- score - Variable in class org.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
-
The similarity score.
- score - Variable in class org.apache.lucene.search.spell.SuggestWord
-
the score of the word
- score(LeafCollector, Bits, int, int) - Method in class org.apache.lucene.search.suggest.document.CompletionScorer
-
- score(float, float) - Method in class org.apache.lucene.search.suggest.document.CompletionScorer
-
Returns the score for a matched completion
based on the query time boost and the
index time weight.
- scoreLookupDocs() - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocs
-
- scoreMode() - Method in class org.apache.lucene.search.suggest.document.TopSuggestDocsCollector
-
Ignored
- scorer(LeafReaderContext) - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
- ScoreTerm() - Constructor for class org.apache.lucene.search.spell.DirectSpellChecker.ScoreTerm
-
Constructor.
- searcherMgr - Variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
IndexSearcher used for lookups.
- searcherMgrLock - Variable in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
Used to manage concurrent access to searcherMgr
- SEPARATOR_TERM - Static variable in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Term that can be used to prohibit adjacent terms from being combined
- setAccuracy(float) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the minimal accuracy required (default: 0.5f) from a StringDistance
for a suggestion match.
- setAccuracy(float) - Method in class org.apache.lucene.search.spell.SpellChecker
-
- setComparator(Comparator<SuggestWord>) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the comparator for sorting suggestions.
- setComparator(Comparator<SuggestWord>) - Method in class org.apache.lucene.search.spell.SpellChecker
-
- setDistance(StringDistance) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the string distance metric.
- setLowerCaseTerms(boolean) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
True if the spellchecker should lowercase terms (default: true)
- setMatchAlmostDiff(int) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Sets the number of characters by which words can differ from target word
when calling the matchAlmost method.
- setMaxChanges(int) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
The maximum numbers of changes (word breaks or combinations) to make on the
original term(s).
- setMaxCombineWordLength(int) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
The maximum length of a suggestion made by combining 1 or more original
terms.
- setMaxEdits(int) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Sets the maximum number of Levenshtein edit-distances to draw
candidate terms from.
- setMaxEvaluations(int) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
The maximum number of word combinations to evaluate.
- setMaxInspections(int) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the maximum number of top-N inspections (default: 5) per suggestion.
- setMaxQueryFrequency(float) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the maximum threshold (default: 0.01f) of documents a query term can
appear in order to provide suggestions.
- setMinBreakWordLength(int) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
The minimum length to break words down to.
- setMinPrefix(int) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Sets the minimal number of initial characters (default: 1)
that must match exactly.
- setMinQueryLength(int) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the minimum length of a query term (default: 4) needed to return suggestions.
- setMinSuggestionFrequency(int) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
The minimum frequency a term must have to be included as part of a
suggestion.
- setNextMatch(IntsRef) - Method in class org.apache.lucene.search.suggest.document.CompletionWeight
-
Set for every partial path in the index that matched the query
automaton.
- setNumReturnValues(int) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Sets the default maximum number of values returned from the
matchPrefix and matchAlmost methods.
- setPayload(BytesRef) - Method in class org.apache.lucene.search.suggest.document.CompletionTokenStream
-
Sets a payload available throughout successive token stream enumeration
- setSpellIndex(Directory) - Method in class org.apache.lucene.search.spell.SpellChecker
-
Use a different index as the spell checker index or re-open
the existing index if spellIndex is the same value
as given in the constructor.
- setStringDistance(StringDistance) - Method in class org.apache.lucene.search.spell.SpellChecker
-
- setThreshold(float) - Method in class org.apache.lucene.search.spell.JaroWinklerDistance
-
Sets the threshold used to determine when Winkler bonus should be used.
- setThresholdFrequency(float) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Set the minimal threshold of documents a term must appear for a match.
- SortedInputIterator - Class in org.apache.lucene.search.suggest
-
This wrapper buffers incoming elements and makes sure they are sorted based on given comparator.
- SortedInputIterator(Directory, String, InputIterator) - Constructor for class org.apache.lucene.search.suggest.SortedInputIterator
-
Creates a new sorted wrapper, using natural order
for sorting.
- SortedInputIterator(Directory, String, InputIterator, Comparator<BytesRef>) - Constructor for class org.apache.lucene.search.suggest.SortedInputIterator
-
Creates a new sorted wrapper, sorting by BytesRef
(ascending) then cost (ascending).
- sortKeys(JaspellTernarySearchTrie.TSTNode, int) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie
-
Deprecated.
Returns keys sorted in alphabetical order.
- SpellChecker - Class in org.apache.lucene.search.spell
-
Spell Checker class (Main class).
(initially inspired by the David Spencer code).
- SpellChecker(Directory, StringDistance) - Constructor for class org.apache.lucene.search.spell.SpellChecker
-
Use the given directory as a spell checker index.
- SpellChecker(Directory) - Constructor for class org.apache.lucene.search.spell.SpellChecker
-
- SpellChecker(Directory, StringDistance, Comparator<SuggestWord>) - Constructor for class org.apache.lucene.search.spell.SpellChecker
-
Use the given directory as a spell checker index with the given
StringDistance measure
and the given
Comparator for sorting the results.
- splitchar - Variable in class org.apache.lucene.search.suggest.jaspell.JaspellTernarySearchTrie.TSTNode
-
Deprecated.
The char used in the split.
- state - Variable in class org.apache.lucene.search.suggest.analyzing.FSTUtil.Path
-
Node in the automaton where path ends:
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingInfixSuggester
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.analyzing.AnalyzingSuggester
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.analyzing.FreeTextSuggester
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.fst.FSTCompletionLookup
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.fst.WFSTCompletionLookup
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.jaspell.JaspellLookup
-
Deprecated.
- store(OutputStream) - Method in class org.apache.lucene.search.suggest.Lookup
-
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.Lookup
-
Persist the constructed lookup data to a directory.
- store(DataOutput) - Method in class org.apache.lucene.search.suggest.tst.TSTLookup
-
- string - Variable in class org.apache.lucene.search.spell.SuggestWord
-
the suggested word
- StringDistance - Interface in org.apache.lucene.search.spell
-
Interface for string distances.
- suggest(CompletionQuery, int, boolean) - Method in class org.apache.lucene.search.suggest.document.SuggestIndexSearcher
-
Returns top n completion hits for
query
- suggest(CompletionQuery, TopSuggestDocsCollector) - Method in class org.apache.lucene.search.suggest.document.SuggestIndexSearcher
-
Lower-level suggest API.
- suggester() - Method in class org.apache.lucene.search.suggest.document.CompletionsTermsReader
-
Returns the suggester for a field, if not loaded already, loads
the appropriate suggester from CompletionDictionary
- suggester() - Method in class org.apache.lucene.search.suggest.document.CompletionTerms
-
Returns a
NRTSuggester for the field
or
null if no FST
was indexed for this field
- SuggestField - Class in org.apache.lucene.search.suggest.document
-
Field that indexes a string value and a weight as a weighted completion
against a named suggester.
- SuggestField(String, String, int) - Constructor for class org.apache.lucene.search.suggest.document.SuggestField
-
- SuggestIndexSearcher - Class in org.apache.lucene.search.suggest.document
-
Adds document suggest capabilities to IndexSearcher.
- SuggestIndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.suggest.document.SuggestIndexSearcher
-
Creates a searcher with document suggest capabilities
for reader.
- suggestion - Variable in class org.apache.lucene.search.spell.CombineSuggestion
-
The word combination suggestion
- SuggestMode - Enum in org.apache.lucene.search.spell
-
Set of strategies for suggesting related terms
- SuggestScoreDoc(int, CharSequence, CharSequence, float) - Constructor for class org.apache.lucene.search.suggest.document.TopSuggestDocs.SuggestScoreDoc
-
Creates a SuggestScoreDoc instance
- suggestSimilar(Term, int, IndexReader) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
- suggestSimilar(Term, int, IndexReader, SuggestMode) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
- suggestSimilar(Term, int, IndexReader, SuggestMode, float) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Suggest similar words.
- suggestSimilar(Term, int, IndexReader, int, int, float, CharsRefBuilder) - Method in class org.apache.lucene.search.spell.DirectSpellChecker
-
Provide spelling corrections based on several parameters.
- suggestSimilar(String, int) - Method in class org.apache.lucene.search.spell.SpellChecker
-
Suggest similar words.
- suggestSimilar(String, int, float) - Method in class org.apache.lucene.search.spell.SpellChecker
-
Suggest similar words.
- suggestSimilar(String, int, IndexReader, String, SuggestMode) - Method in class org.apache.lucene.search.spell.SpellChecker
-
- suggestSimilar(String, int, IndexReader, String, SuggestMode, float) - Method in class org.apache.lucene.search.spell.SpellChecker
-
Suggest similar words (optionally restricted to a field of an index).
- SuggestStopFilter - Class in org.apache.lucene.search.suggest.analyzing
-
Like StopFilter except it will not remove the
last token if that token was not followed by some token
separator.
- SuggestStopFilter(TokenStream, CharArraySet) - Constructor for class org.apache.lucene.search.suggest.analyzing.SuggestStopFilter
-
Sole constructor.
- SuggestStopFilterFactory - Class in org.apache.lucene.search.suggest.analyzing
-
- SuggestStopFilterFactory(Map<String, String>) - Constructor for class org.apache.lucene.search.suggest.analyzing.SuggestStopFilterFactory
-
Creates a new StopFilterFactory
- SuggestWord - Class in org.apache.lucene.search.spell
-
SuggestWord, used in suggestSimilar method in SpellChecker class.
- SuggestWord() - Constructor for class org.apache.lucene.search.spell.SuggestWord
-
Creates a new empty suggestion with null text.
- suggestWordBreaks(Term, int, IndexReader, SuggestMode, WordBreakSpellChecker.BreakSuggestionSortMethod) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Generate suggestions by breaking the passed-in term into multiple words.
- suggestWordCombinations(Term[], int, IndexReader, SuggestMode) - Method in class org.apache.lucene.search.spell.WordBreakSpellChecker
-
Generate suggestions by combining one or more of the passed-in terms into
single words.
- SuggestWordFrequencyComparator - Class in org.apache.lucene.search.spell
-
Frequency first, then score.
- SuggestWordFrequencyComparator() - Constructor for class org.apache.lucene.search.spell.SuggestWordFrequencyComparator
-
- SuggestWordQueue - Class in org.apache.lucene.search.spell
-
Sorts SuggestWord instances
- SuggestWordQueue(int) - Constructor for class org.apache.lucene.search.spell.SuggestWordQueue
-
- SuggestWordQueue(int, Comparator<SuggestWord>) - Constructor for class org.apache.lucene.search.spell.SuggestWordQueue
-
Specify the size of the queue and the comparator to use for sorting.
- SuggestWordScoreComparator - Class in org.apache.lucene.search.spell
-
Score first, then frequency
- SuggestWordScoreComparator() - Constructor for class org.apache.lucene.search.spell.SuggestWordScoreComparator
-