lib/endeca/document.rb in primedia-endeca-0.10.1 vs lib/endeca/document.rb in primedia-endeca-0.11.0

- old
+ new

@@ -13,9 +13,12 @@ inherited_accessor :mappings, {} inherited_property :path inherited_property :default_params, {} inherited_property :collection_class, DocumentCollection + inherited_accessor :reader_names, [] + def self.field_names; reader_names; end + reader :id attr_reader :raw, :properties def initialize(record_raw=nil) @raw = record_raw || {}