# File lib/thinking_sphinx/search.rb, line 288 def each_with_weighting(&block) populate results[:matches].each_with_index do |match, index| yield self[index], match[:weight] end end