lib/picky/search.rb in picky-4.12.1 vs lib/picky/search.rb in picky-4.12.2
- old
+ new
@@ -21,14 +21,14 @@
attr_reader :indexes,
:ignore_unassigned
attr_accessor :tokenizer,
:boosts
- delegate :ignore,
- :only,
- :remap_qualifiers,
- :to => :indexes
+ forward :ignore,
+ :only,
+ :remap_qualifiers,
+ :to => :indexes
# Takes:
# * A number of indexes
#
# It is also possible to define the tokenizer and boosts like so.
@@ -211,10 +211,10 @@
sorted_allocations(tokens, @max_allocations),
@extra_allocations,
unique
end
- # Delegates the tokenizing to the query tokenizer.
+ # Forwards the tokenizing to the query tokenizer.
#
# Parameters:
# * text: The string to tokenize.
# * partialize_last: Whether to partialize the last token.
#
\ No newline at end of file