module Jekyll::Algolia::Indexer
def self.update_settings(index, settings)
settings - The hash of settings to pass to the index
index - The Algolia Index
Public: Update settings of the index
def self.update_settings(index, settings) Logger.verbose('I:Updating settings') return if Configurator.dry_run? begin index.set_settings(settings) rescue StandardError => error ErrorHandler.stop(error, settings: settings) end end