Displaying 1 result from an estimated 1 matches for "match_mod".
Did you mean:
match_mode
2010 Dec 02
0
Thinking Sphinx sorting problem
...t_mode => :extended,
:order => Application::Search::SortBy::SPHINX[@sort], # this gives
me sql string to sort by
:per_page => 1000)
@applicant_ids = Applicant.search_for_ids("@application_ids
''#{application_ids * ''|''}''",
:match_mode => :extended2, :page => params[:page], :per_page => 5,
:sort_mode => :extended,
:order => Application::Search::SortBy::SPHINX[@sort]) # this gives
me sql string to sort by
@applicants = @applicant_ids.empty? ? [] :
Applicant.find(@applicant_ids,
:select =>...