Fix bug 728; use case statement to look for success or failure
Fix bug 728; use case statement to look for success or failure

xuejianhai/riak_search,xuejianhai/riak_search,basho/riak_search,wwezhuimeng/riak_search,basho/riak_search,wwezhuimeng/riak_search