Displaying 2 results from an estimated 2 matches for "rank_sort".
2007 Mar 31
3
Sorting issues, can anyone help me?
I have this model:
class Post < ActiveRecord::Base
acts_as_ferret :fields => { :title => {:boost => 2},
:description => {},
:url => {},
:rank_sort => {:index =>
:untokenized_omit_norms, :term_vector => :no},
:posted_at_sort => {:index =>
:untokenized_omit_norms, :term_vector => :no}
}, :remote => true
belongs_to :blog
def rank_sort
begin...
2007 Mar 28
1
Questions on tokenized x untokenized and date sorting
Gents, does this definition will allow me to search inside title,
sub_title and url and sort by score, rank_sort, last_updated_at_sort ?
acts_as_ferret :fields => { :title => {:boost => 2, :store => :yes},
:sub_title => {:store => :yes},
:url => {:store => :yes},
:rank_sort => {:index =>...