anchor.diff:  
   execute_solr_query(Query, ObjType, Db, S) ->
       Url = solr_query_url(ObjType, Db, Query),
  -    io:format("~p~n", [lists:flatten(Url)]),
       SolrDataRaw = solr_query(Url),
       % FIXME: Probably want a solr module that knows how to query solr
       % and parse its responses.
  
positive.code:     end.
  
  transform_query(RawQuery) when is_binary(RawQuery) ->
      io:format("~p~n", [RawQuery]),
      case chef_lucene:parse(RawQuery) of
          Query when is_binary(Query) ->
              ibrowse_lib:url_encode(binary_to_list(Query));
  
negative.code:             Id;
          undefined ->
              OrgName = list_to_binary(wrq:path_info(organization_id, Req)),
              case chef_otto:fetch_org_id(S, OrgName) of
                  not_found -> throw(org_not_found);
                  Guid -> Guid
  