search for: paginating_ferret_find

Displaying 1 result from an estimated 1 matches for "paginating_ferret_find".

2007 Aug 18
0
Problem with multi-search
...=> {:name => {:store => :no},) where mesage belongs to chat. When i search a keyword,it could be present in message or it could be present in chat name. So im doing a multi-search on Message and Chat model.But the results dont come.the keyword is indexed but doesnt show up. Im using the paginating_ferret_find method def paginating_ferret_multi_search(options) count = Chat.multi_search(options[:q], [Message], {:limit => :all, :lazy => false}).total_hits PagingEnumerator.new(options[:page_size], count.total_hits, false, options[:current], 1) do |page| offset = (options[:current].to_i...