lib/picky/internals/query/indexes.rb in picky-2.1.2 vs lib/picky/internals/query/indexes.rb in picky-2.2.0
- old
+ new
@@ -20,10 +20,10 @@
# Its job is to generate all possible combinations.
# Note: We cannot mix memory and redis indexes just yet.
#
def initialize *index_definitions, combinations_type
@combinations_type = combinations_type
- @indexes = index_definitions.map &:indexed
+ @indexes = index_definitions.map(&:internal_indexed)
end
# Returns a number of prepared (sorted, reduced etc.) allocations for the given tokens.
#
def prepared_allocations_for tokens, weights = {}
\ No newline at end of file