Sha256: 69a49b9381e87b63412f57985eed0da439354988e762cfbc8574eaf754baf787

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

require "skala/record"
require_relative "../result"

class Skala::Adapter::Search::Result::Hit
  include Virtus.model

  attribute :id,      String, required: true
  attribute :index,   String
  attribute :score,   BasicObject # TODO: can we set this to Float ?
  attribute :type,    String
  attribute :record,  Skala::Record
  attribute :version, Integer
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
skala-1.1.0 lib/skala/adapter/search/result/hit.rb