Closed rohanshah18 closed 3 months ago
Currently, users can not easily check if an index exists or not. The .names() iterator on the list_indexes response object is not super discoverable.
Add has_index() which internally calls describe_index() and returns true if the index exists, false otherwise.
Added integration tests.
Problem
Currently, users can not easily check if an index exists or not. The .names() iterator on the list_indexes response object is not super discoverable.
Solution
Add has_index() which internally calls describe_index() and returns true if the index exists, false otherwise.
Type of Change
Test Plan
Added integration tests.