public class SpellingOptions extends Object
Modifier and Type | Field and Description |
---|---|
float |
accuracy
Optionally restrict the results to have a minimum accuracy level.
|
int |
alternativeTermCount |
int |
count
The number of suggestions to return, if there are any.
|
SolrParams |
customParams
Any other custom params can be passed through.
|
boolean |
extendedResults
Provide additional, per implementation, information about the results
|
IndexReader |
reader
An optional
IndexReader |
SuggestMode |
suggestMode |
Collection<Token> |
tokens
The tokens to spell check
|
Constructor and Description |
---|
SpellingOptions() |
SpellingOptions(Collection<Token> tokens,
IndexReader reader) |
SpellingOptions(Collection<Token> tokens,
IndexReader reader,
int count) |
SpellingOptions(Collection<Token> tokens,
IndexReader reader,
int count,
int alternativeTermCount,
SuggestMode suggestMode,
boolean extendedResults,
float accuracy,
SolrParams customParams) |
SpellingOptions(Collection<Token> tokens,
IndexReader reader,
int count,
SuggestMode suggestMode,
boolean extendedResults,
float accuracy,
SolrParams customParams) |
SpellingOptions(Collection<Token> tokens,
int count) |
public Collection<Token> tokens
public IndexReader reader
IndexReader
public int count
public int alternativeTermCount
public SuggestMode suggestMode
public boolean extendedResults
public float accuracy
public SolrParams customParams
public SpellingOptions()
public SpellingOptions(Collection<Token> tokens, int count)
public SpellingOptions(Collection<Token> tokens, IndexReader reader)
public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count)
public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count, SuggestMode suggestMode, boolean extendedResults, float accuracy, SolrParams customParams)
public SpellingOptions(Collection<Token> tokens, IndexReader reader, int count, int alternativeTermCount, SuggestMode suggestMode, boolean extendedResults, float accuracy, SolrParams customParams)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.