Sha256: dc278de7e35372329de1a7c9d3c6dd9a9aa5dcf398af3d16d66d185a8ae44349

Contents?: true

Size: 405 Bytes

Versions: 44

Compression:

Stored size: 405 Bytes

Contents

module Elasticity
  module Strategies
    class IndexError < StandardError
      attr_reader :index_base_name

      def initialize(index_base_name, message)
        @index_base_name = index_base_name
        super("#{index_base_name}: #{message}")
      end
    end

    autoload :SingleIndex, "elasticity/strategies/single_index"
    autoload :AliasIndex,  "elasticity/strategies/alias_index"
  end
end

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
es-elasticity-1.1.0 lib/elasticity/strategies.rb
es-elasticity-1.0.1 lib/elasticity/strategies.rb
es-elasticity-0.14.1 lib/elasticity/strategies.rb
es-elasticity-0.14.0 lib/elasticity/strategies.rb
es-elasticity-0.14.0.jhumphreys lib/elasticity/strategies.rb
es-elasticity-0.13.5 lib/elasticity/strategies.rb
es-elasticity-0.13.5.dblackmon.1 lib/elasticity/strategies.rb
es-elasticity-0.13.4 lib/elasticity/strategies.rb
es-elasticity-0.13.4.zpesic lib/elasticity/strategies.rb
es-elasticity-0.13.4.dblackmon.1 lib/elasticity/strategies.rb
es-elasticity-0.13.4.dblackmon.0 lib/elasticity/strategies.rb
es-elasticity-0.13.4.dblackmon lib/elasticity/strategies.rb
es-elasticity-0.13.3 lib/elasticity/strategies.rb
es-elasticity-0.13.3.pre1 lib/elasticity/strategies.rb
es-elasticity-0.12.0 lib/elasticity/strategies.rb
es-elasticity-0.11.5 lib/elasticity/strategies.rb
es-elasticity-0.11.1 lib/elasticity/strategies.rb
es-elasticity-0.9.0 lib/elasticity/strategies.rb
es-elasticity-0.8.4 lib/elasticity/strategies.rb
es-elasticity-0.8.3 lib/elasticity/strategies.rb