lib/picky/search.rb in picky-3.1.2 vs lib/picky/search.rb in picky-3.1.3
- old
+ new
@@ -19,14 +19,16 @@
attr_reader :indexes
attr_accessor :tokenizer,
:weights
+ delegate :ignore,
+ :to => :indexes
+
# Takes:
# * A number of indexes
#
- # TODO Add identifiers_to_remove (rename) and reduce_allocations_to_amount (rename).
- # TODO categories_to_remove ?
+ # TODO Add reduce_allocations_to_amount (rename).
#
# It is also possible to define the tokenizer and weights like so.
# Example:
# search = Search.new(index1, index2, index3) do
# searching removes_characters: /[^a-z]/ # etc.
\ No newline at end of file