Package org.elasticsearch.client
Interface WarningsHandler
-
public interface WarningsHandler
Called if there are warnings to determine if those warnings should fail the request.
-
-
Field Summary
Fields Modifier and Type Field Description static WarningsHandler
PERMISSIVE
static WarningsHandler
STRICT
-
Method Summary
Modifier and Type Method Description boolean
warningsShouldFailRequest(java.util.List<java.lang.String> warnings)
-
-
-
Field Detail
-
PERMISSIVE
static final WarningsHandler PERMISSIVE
-
STRICT
static final WarningsHandler STRICT
-
-