Skip to content

Commit

Permalink
RSolr::Client doesn't have a delete(id) method changed to delete_by_i…
Browse files Browse the repository at this point in the history
…d(id) for purgeObject
  • Loading branch information
mkorcy authored and flyingzumwalt committed Jul 23, 2012
1 parent fed8977 commit fd768e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/solrizer
Expand Up @@ -93,7 +93,7 @@ begin
solrizer = Solrizer::Fedora::Solrizer.new
solrizer.solrize @msg.headers["pid"]
elsif method == "purgeObject"
ActiveFedora::SolrService.instance.conn.delete(pid)
ActiveFedora::SolrService.instance.conn.delete_by_id(pid)
else
$stderr.puts "Unknown Method: #{method}"
end
Expand Down

0 comments on commit fd768e7

Please sign in to comment.