module Jekyll::Algolia::Indexer
def self.index_exist?(index)
Note: there is no API endpoint to do that, so we try to get the settings
index - Index to check
Public: Check if an index exists
def self.index_exist?(index) index.get_settings true rescue StandardError false end