anchor.diff:  
   %% @doc Generates a constraint for chef_type
   %% @end
  --spec search_type_constraint(Type :: binary()) -> TypeConstraint :: [byte(),...].
  +-spec search_type_constraint(Type :: atom()) -> TypeConstraint :: [byte(),...].
   search_type_constraint(Type) ->
  -    "X_CHEF_type_CHEF_X:" ++ binary_to_list(Type).
  +    "X_CHEF_type_CHEF_X:" ++ atom_to_list(Type).
   
   
   % /solr/select?
  
positive.code:          delete_search_db_by_type/2,
           make_query_from_params/4,
           ping/0,
           search/1
          ]).
  
  -include("chef_solr.hrl").
  
negative.code:     end.
  
  %% @doc Sends a "commit" message directly to Solr
  %% This is exposed for the users of delete_search_db_by_type
  -spec solr_commit() -> ok | {error, term()}.
  solr_commit() ->
      solr_update("<?xml version='1.0' encoding='UTF-8'?><commit/>").
  