Sha256: 1ada165d1967948c05335ca7c68ee61b963f57f26216565d36269bf2be854898

Contents?: true

Size: 260 Bytes

Versions: 14

Compression:

Stored size: 260 Bytes

Contents

module Elastic::Results
  class Hit < Base
    attr_reader :type, :id, :score, :source
    attr_accessor :data

    def initialize(_type, _id, _score, _source)
      @type = _type
      @id = _id
      @score = _score
      @source = _source
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
elastic-rails-0.8.7 lib/elastic/results/hit.rb
elastic-rails-0.8.6 lib/elastic/results/hit.rb
elastic-rails-0.8.5 lib/elastic/results/hit.rb
elastic-rails-0.8.4 lib/elastic/results/hit.rb
elastic-rails-0.8.3 lib/elastic/results/hit.rb
elastic-rails-0.8.2 lib/elastic/results/hit.rb
elastic-rails-0.8.1 lib/elastic/results/hit.rb
elastic-rails-0.8.0 lib/elastic/results/hit.rb
elastic-rails-0.7.0 lib/elastic/results/hit.rb
elastic-rails-0.6.4 lib/elastic/results/hit.rb
elastic-rails-0.6.3 lib/elastic/results/hit.rb
elastic-rails-0.6.2 lib/elastic/results/hit.rb
elastic-rails-0.6.1 lib/elastic/results/hit.rb
elastic-rails-0.6.0 lib/elastic/results/hit.rb