Commits

Anonymous committed 8823071

Update info call

tags: az296

Comments (0)

Files changed (1)

apps/riak_search/src/merge_index_backend.erl

 
 info(Index, Field, Term, Sender, State) ->
     Pid = State#state.pid,
-    {ok, Info} = merge_index:info(Pid, Index, Field, Term),
-    Info1 = [{Term, node(), Count} || {_, Count} <- Info],
-    riak_search_backend:info_response(Sender, Info1),
+    {ok, Count} = merge_index:info(Pid, Index, Field, Term),
+    riak_search_backend:info_response(Sender, [{Term, node(), Count}]),
     noreply.
 
 stream(Index, Field, Term, Filter, Sender, State) ->