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