public enum SynonymExpansionMode extends Enum<SynonymExpansionMode>
| Enum Constant and Description |
|---|
QUERY
build the synonym map from the query only, expand the query.
|
QUERY_AND_QUERYPARTS
build synonym map from both query and query parts, expand the query, prune and expand the query parts.
|
QUERY_AND_SYNONYMMAP
build synonym map from both query and query parts, expand the query, only prune the query parts.
|
| Modifier and Type | Method and Description |
|---|---|
static SynonymExpansionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SynonymExpansionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SynonymExpansionMode QUERY
public static final SynonymExpansionMode QUERY_AND_QUERYPARTS
public static final SynonymExpansionMode QUERY_AND_SYNONYMMAP
public static SynonymExpansionMode[] values()
for (SynonymExpansionMode c : SynonymExpansionMode.values()) System.out.println(c);
public static SynonymExpansionMode 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 © 2025. All rights reserved.