Displaying 4 results from an estimated 4 matches for "sort_mod".
Did you mean:
sort_mode
2008 May 27
0
Ultrasphinx geolookup distance returns NaN value.
Hi all,
I''m trying to use geo-location based search using sphinx, Here my search
query.
@search = Ultrasphinx::Search.new(:sort_mode => ''extended'', :sort_by =>
''distance'', :location => {:units => ''degrees'', :lat => 40.7414, :long =>
-74.0014})
@search.results.collect{|x| x.distance}
[0.69084495306015, 400.852783203125, 8684957.0]
But when using :query w...
2010 Dec 02
0
Thinking Sphinx sorting problem
...ter = params[:filter_by].to_i
application_ids = Application.search_for_ids(@searched,
:select => "id, applicant_id",
:group_by => ''applicant_id'', :group_function => :attr,
:with => Application.filter_for_search(@filter, @season),
:sort_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...
2008 Sep 08
0
Group By / Filters with UltraSphinx
...=> [''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,
''content'' => 2.0},...
2010 Dec 01
0
Thinking sphinx + rails 3 issue in results set
...User.search ''j'', :page => params[:page], :per_page => 10,
:conditions => {:ga_gender =>''Female'', :login => ''Someusename'',
:ga_name=> ''some name'', ga_value=>''some value''}, star =>true, :sort_mode
=> :extended, :order => "created_at DESC"
Which is not working or returns empty array set..
2. How to implement delta to update thinkg-sphinx automatically for some
period / any document/forums , etc..
Thanks in Advance,
Jak.
--
Posted via http://www.ruby-forum.com/.
--
Y...