Sha256: 76a3e16131cb188d4274872bc02767b21a4d1f0f55839fff0c7155393d415c38
Contents?: true
Size: 251 Bytes
Versions: 77
Compression:
Stored size: 251 Bytes
Contents
class SolrDocument def initialize(source_doc={}, solr_response=nil) @source_doc = source_doc end def id fetch(:id) end def fetch(field, default = nil) @source_doc[field] end def [](field) @source_doc[field] end end
Version data entries
77 entries across 77 versions & 1 rubygems