Wednesday 15 June 2011

java - How can I remove a 'bad document'? -



java - How can I remove a 'bad document'? -

i've somehow made bad document in database hanging views. i've narrowed downwards document:

id: 0fd5cd9ec4814c07aab8262fbf2a563b rev: "31-e545cf536490d353a14c507073e519cc"

however, cannot seem find way remove document. using futon , fauxton hang browser, , using curl seem why. i've somehow inserted funky set of unicode characters '���'. when getting document curl, it's endless loop of these characters. think issue &nbsp encoding wrong maybe bug on server wrapper around couch, regardless can't prepare without removing document first, seems.

a snippet of get: ..."1414788167464":{"updater":"super_user","new value":"hello������������������������...(start endless loop)

curl -x delete http://localhost:5984/records/0fd5cd9ec4814c07aab8262fbf2a563b?rev=31-e545cf536490d353a14c507073e519cc

results in curl: no match.

any suggestions removal, or on safely encoding text avoid issue?

java couchdb

No comments:

Post a Comment