Sha256: 6de3de117936c1e453d30b064e13156819570c4b2f30367703e2dd9b0c9b073a

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

#!/usr/bin/env ruby

require 'bundler/setup'
require 'dotenv/load'
require 'esse'
require 'pry'
require 'awesome_print'

Esse.config.clusters.client = { url: ENV.fetch('ELASTICSEARCH_URL', 'http://localhost:9200') }
Esse.config.clusters.index_prefix = 'esse_console'

class ApplicationIndex < Esse::Index
  self.abstract_class = true
end
class GeosIndex < ApplicationIndex
  self.index_version = 'v1'

  define_type :county
  define_type :city
end

Pry.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
esse-0.0.4 bin/console
esse-0.0.3 bin/console
esse-0.0.2 bin/console