public enum SpellingCorrectionFallbackSearchStrategy extends java.lang.Enum<SpellingCorrectionFallbackSearchStrategy> implements FallbackSearchStrategy
Enum Constant and Description |
---|
Instance |
Modifier and Type | Method and Description |
---|---|
SearchResponse |
execute(Searcher searcher,
SearchRequest request,
SearchResponse response) |
static SpellingCorrectionFallbackSearchStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpellingCorrectionFallbackSearchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpellingCorrectionFallbackSearchStrategy Instance
public static SpellingCorrectionFallbackSearchStrategy[] values()
for (SpellingCorrectionFallbackSearchStrategy c : SpellingCorrectionFallbackSearchStrategy.values()) System.out.println(c);
public static SpellingCorrectionFallbackSearchStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic SearchResponse execute(Searcher searcher, SearchRequest request, SearchResponse response)
execute
in interface FallbackSearchStrategy