Displaying 1 result from an estimated 1 matches for "days_for_new".
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
...ches (not
sure if this matters to Ferret DRB or not):
Ferret::Search::SortField.new(:article_published_date, :reverse => true)
Ferret::Search::Sort.new([Ferret::Search::SortField::SCORE, date_sort])
Ferret::Search::RangeQuery.new(:article_published_date, :>= =>
UserSystem::APP_DEFAULTS[:days_for_new].days.ago.utc.to_i.to_s, :<= =>
Time.now.utc.to_i.to_s)
Ferret::Search::Sort.new([Ferret::Search::SortField.new(:article_published_date,
:reverse => true)])
Any ideas why my searches wouldn''t be working?
--
Posted via http://www.ruby-forum.com/.