The high-level library provides a wrapper class around each specific API and uses the low-level client to send out the request. In the following tables, we cover those wrapper class that we are interested in and that are within the scope of this book:
API |
Wrapper class |
Methods supported |
Indices |
Index |
analyze(), analyzer(), aliases(), create(), refresh(), flush(), get(), open(), close(), delete(), exists(), put_mapping(), get_mapping(), get_field_mapping(), put_alias(), get_alias(), exists_alias(), delete_alias(), put_settings(), get_settings(), clear_cache(), flush_synced(), forcemerge(), shrink(), stats(), updateByQuery(), validate_query() |
Document |
Document |
delete(), upgrade(), save(), search() ... |