client

in spec/integration/app-search/app_search_helper.rb [23:32]


def client
  @client ||= Elastic::EnterpriseSearch::AppSearch::Client.new(
    host: ENV['ELASTIC_ENTERPRISE_HOST'] || 'http://localhost:3002',
    http_auth: {
      user: ENV['ELASTIC_ENTERPRISE_USER'] || 'enterprise_search',
      password: ENV['ELASTIC_ENTERPRISE_PASSWORD'] || 'changeme'
    }
  )
end