[Ferret-talk] Sorting issues, can anyone help me?

Manoel Lemos
2007-04-01T17:21:16Z

Jens, so this is the correct way to define the fields:

:rank_sort => {:index => :untokenized_omit_norms, :term_vector => :no}

since rank_sort is like this:

  def rank_sort
    return self.rank_links.to_i if !self.rank_links.blank? and
self.rank_links > 0
    return 999999999
  end

--
Posted via http://www.ruby-forum.com/.