diff --git a/lib/tire/model/indexing.rb b/lib/tire/model/indexing.rb index ca565f47..da9b4996 100644 --- a/lib/tire/model/indexing.rb +++ b/lib/tire/model/indexing.rb @@ -17,7 +17,12 @@ def mapping end def indexes(name, options = {}) - # p "#{self}, SEARCH PROPERTY, #{name}" + # TODO: if block given, create hash ans store the mapping + # defined in the block: + # indexes :author do + # indexes :last_name, :type => ... + # end + # mapping[name] = options end