public enum SearchStyleEnum extends Enum<SearchStyleEnum>
| Enum Constant and Description |
|---|
GET
This is the most common (and generally the default) behaviour.
|
GET_WITH_SEARCH
Performs the search using the style below.
|
POST
Performs the search using the style below.
|
| Modifier and Type | Method and Description |
|---|---|
static SearchStyleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SearchStyleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchStyleEnum GET
GET [base]/[resource type]?[params]public static final SearchStyleEnum GET_WITH_SEARCH
GET [base]/[resource type]/_search?[params]public static final SearchStyleEnum POST
POST [base]/[resource type]/_search
public static SearchStyleEnum[] values()
for (SearchStyleEnum c : SearchStyleEnum.values()) System.out.println(c);
public static SearchStyleEnum 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 © 2014–2019 University Health Network. All rights reserved.