Displaying 1 result from an estimated 1 matches for "get_query_by_subject".
2008 Sep 08
0
Group By / Filters with UltraSphinx
...9;lang''}],
:delta => true
or
is_indexed :fields => [''content'', ''titre'', ''created_at'', ''lang''],
:delta => true
In my controller :
@search = Ultrasphinx::Search.new(:query =>
get_query_by_subject(@subject.id),
:sort_mode => ''descending'',
:sort_by => ''created_at'',
:weights => {''titre'' => 5.0,
''conten...