public static enum WordBreakSolrSpellChecker.BreakSuggestionTieBreaker extends Enum<WordBreakSolrSpellChecker.BreakSuggestionTieBreaker>
Specify a value on the "breakSugestionTieBreaker" parameter. The default is MAX_FREQ.
Enum Constant and Description |
---|
MAX_FREQ
See
WordBreakSpellChecker.BreakSuggestionSortMethod.NUM_CHANGES_THEN_MAX_FREQUENCY
# |
SUM_FREQ
See
WordBreakSpellChecker.BreakSuggestionSortMethod.NUM_CHANGES_THEN_SUMMED_FREQUENCY |
Modifier and Type | Method and Description |
---|---|
static WordBreakSolrSpellChecker.BreakSuggestionTieBreaker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WordBreakSolrSpellChecker.BreakSuggestionTieBreaker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WordBreakSolrSpellChecker.BreakSuggestionTieBreaker MAX_FREQ
WordBreakSpellChecker.BreakSuggestionSortMethod.NUM_CHANGES_THEN_MAX_FREQUENCY
#public static final WordBreakSolrSpellChecker.BreakSuggestionTieBreaker SUM_FREQ
WordBreakSpellChecker.BreakSuggestionSortMethod.NUM_CHANGES_THEN_SUMMED_FREQUENCY
public static WordBreakSolrSpellChecker.BreakSuggestionTieBreaker[] values()
for (WordBreakSolrSpellChecker.BreakSuggestionTieBreaker c : WordBreakSolrSpellChecker.BreakSuggestionTieBreaker.values()) System.out.println(c);
public static WordBreakSolrSpellChecker.BreakSuggestionTieBreaker valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2000–2015 The Apache Software Foundation. All rights reserved.