Skip to content
This repository has been archived by the owner on Jun 5, 2018. It is now read-only.

Commit

Permalink
Merge branch 'v1'
Browse files Browse the repository at this point in the history
Conflicts:
	HISTORY
  • Loading branch information
pat committed Jan 4, 2012
2 parents 591385f + 67ff4b0 commit 53fbf07
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions HISTORY
@@ -1,3 +1,6 @@
Edge:
* Allow for rank_expr option being passed through to Riddle.

2.0.11 - January 2nd 2011 2.0.11 - January 2nd 2011
* Call #all on search results to force population of results, matching ActiveRecord::Relation#all in essence. (Adrian Macneil). * Call #all on search results to force population of results, matching ActiveRecord::Relation#all in essence. (Adrian Macneil).
* 1.4.11 changes. * 1.4.11 changes.
Expand Down
2 changes: 1 addition & 1 deletion lib/thinking_sphinx/search.rb
Expand Up @@ -544,7 +544,7 @@ def prepare(client)
[ [
:max_matches, :group_by, :group_function, :group_clause, :max_matches, :group_by, :group_function, :group_clause,
:group_distinct, :id_range, :cut_off, :retry_count, :retry_delay, :group_distinct, :id_range, :cut_off, :retry_count, :retry_delay,
:rank_mode, :max_query_time, :field_weights :rank_mode, :rank_expr, :max_query_time, :field_weights
].each do |key| ].each do |key|
value = options[key] || index_options[key] value = options[key] || index_options[key]
client.send("#{key}=", value) if value client.send("#{key}=", value) if value
Expand Down

0 comments on commit 53fbf07

Please sign in to comment.