Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Flatten MaxScore string so that it is consistent in all interfaces. #119

Merged
merged 1 commit into from

2 participants

@seancribbs
Owner

Fixes #118

@seancribbs seancribbs was assigned
@rzezeski rzezeski was assigned
@rzezeski

+1 to merge

@seancribbs seancribbs merged commit e023973 into from
@seancribbs seancribbs was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/riak_search_client.erl
View
3  src/riak_search_client.erl
@@ -166,8 +166,7 @@ search_doc(IndexOrSchema, QueryOps, FilterOps, QueryStart, QueryRows,
[] ->
"0.0";
[{_, _, Props}|_] ->
- [MS] = io_lib:format("~g", [proplists:get_value(score, Props)]),
- MS
+ lists:flatten(io_lib:format("~g", [proplists:get_value(score, Props)]))
end,
%% Fetch the documents in parallel.
F = fun({Index, DocID, _}) ->
Something went wrong with that request. Please try again.