Sha256: a830917b28b375946d94e13f0fd1b2bebc7b1dac017a858a63efe5dd5d1732a7

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

# frozen_string_literal: true

module Esse
  # Type is actually deprecated. Elasticsearch today uses _doc instead of type
  # And in upcoming release it will be totally removed.
  # But I want to keep compatibility with old versions of es.
  class Repository
    class << self
      # This methods will be defined using meta programming in the index respository definition
      # @see Esse::Index::Type.repository
      attr_reader :index
      attr_accessor :document_type
    end
    require_relative 'repository/actions'
    require_relative 'repository/backend'
    require_relative 'repository/object_document_mapper'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
esse-0.2.2 lib/esse/repository.rb