anchor.diff:  
   %% Application callbacks
   -export([start/2, stop/1]).
  +
  +-define(SERVICES, [{riak_search_pb_query, 27, 28}]).
   
   %% ===================================================================
   %% Application callbacks
  
positive.code: 
                      Root = app_helper:get_env(riak_solr, solr_name, "solr"),
  
                      ok = riak_api_pb_service:register(riak_search_pb_query, 27, 28),
  
                      webmachine_router:add_route({[Root, index, "update"],
                                                   riak_solr_indexer_wm, []}),
  
negative.code:     end.
  
  stop(_State) ->
      ok = riak_api_pb_service:deregister(?SERVICES),
      ok.
  