lib/picky/query/boosts.rb in picky-4.10.0 vs lib/picky/query/boosts.rb in picky-4.11.0
- old
+ new
@@ -42,14 +42,14 @@
#
# Example:
# [:name, :height, :color] returns +3, but
# [:name, :height, :street] returns -1.
#
- # Note: Use Array#clustered_uniq_fast to make
+ # Note: Use Array#clustered_uniq to make
# [:a, :a, :b, :a] => [:a, :b, :a]
#
def boost_for_categories names
- @boosts[names.clustered_uniq_fast] || 0
+ @boosts[names.clustered_uniq] || 0
end
# API.
#
# Calculates a score for the combinations.
\ No newline at end of file