anchor.diff:                      {ok, [{index, Index},{schema, <<"_yz_default">>}]} ==
                           ?MODULE:get_search_index(Pid, Index)
                   end ),
  -                ok = set_bucket(Pid, Bucket, [{search_index, Index}]),
  +                ok = ?MODULE:set_search_index(Pid, Bucket, Index),
                   PO = riakc_obj:new(Bucket, <<"fred">>, <<"{\"name_s\":\"Freddy\"}">>, "application/json"),
                   {ok, _Obj} = ?MODULE:put(Pid, PO, [return_head]),
                   wait_until( fun() ->
  
positive.code:                     {ok, [{index, Index},{schema, <<"_yz_default">>}]} ==
                          ?MODULE:get_search_index(Pid, Index)
                  end ),
                  ok = set_bucket(Pid, Bucket, [{search_index, Index}]),
                  PO = riakc_obj:new(Bucket, <<"fred">>, <<"{\"name_s\":\"בָּרָא\"}">>, "application/json"),
                  {ok, _Obj} = ?MODULE:put(Pid, PO, [return_head]),
                  wait_until( fun() ->
  
negative.code:     CallTimeout = proplists:get_value(call_timeout, Opts, default_timeout(search_call_timeout)),
      Req = #rpbyokozunaindexdeletereq{name = Index},
      gen_server:call(Pid, {req, Req, Timeout}, CallTimeout).
  
  -spec set_search_index(pid(), bucket(), binary()) ->
                      ok | {error, term()}.
  set_search_index(Pid, Bucket, Index) ->
      set_bucket(Pid, Bucket, [{search_index, Index}]).
  
  
  %% Deprecated, argument explosion functions for indexes
  