lib/active_groonga/result_set.rb in activegroonga-2.1.3 vs lib/active_groonga/result_set.rb in activegroonga-2.1.4
- old
+ new
@@ -179,10 +179,10 @@
return nil if resolved_record.nil?
while resolved_record.key.is_a?(Groonga::Record)
resolved_record = resolved_record.key
end
instance = @klass.instantiate(resolved_record)
- instance.score = record.score if record.support_sub_records?
+ instance.score = record.score
instance
end
def compute_n_key_nested
@n_key_nested = 0