Class: Sunspot::Search::RawResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/sunspot/search.rb

Overview

Objects of this class are returned by the #raw_results method.

Instance Attribute Summary collapse

Instance Attribute Details

#class_nameObject

Returns the value of attribute class_name

Returns:

  • (Object)

    the current value of class_name



9
10
11
# File 'lib/sunspot/search.rb', line 9

def class_name
  @class_name
end

#primary_keyObject

Returns the value of attribute primary_key

Returns:

  • (Object)

    the current value of primary_key



9
10
11
# File 'lib/sunspot/search.rb', line 9

def primary_key
  @primary_key
end