RSolr::Error::InvalidRubyResponse: RSolr::Error::InvalidRubyResponse - 200 OK Error: <result status="0"></result> Request Data: "<?xml version=\"1.0\" encoding=\"UTF-8\"?><delete><query>id:4f0cb8abc61a323cf7000001</query></delete>
The delete went through fine since it's a 200 but the response is an xml. should it be a ruby hash?
Would you mind posting the code you used? Also, what version are you using?
- Matt
def destroy_index_document
RSOLR_OBJ.delete_by_query("id:#{solr_id_value}")
end
where RSOLR_OBJ is a const defined in a rails initializer:
RSOLR_OBJ = RSolr.connect :url => SOLR_URL