: we tried another commands to delete the document ID:
: 
: 1> For Deletion:
: 
: curl http://localhost:8983/solr/update -H 'Content-type:application/json' -d
: '
: [

You're use of square brackets here is triggering the syntax-sugar that 
let's you add documents as objects w/o needing the "add" keyword.  Solr 
things you are trying to add a document containing one field named 
"delete"


just send something like this as your entire HTTP request body...

{ "delete": "c7d30e6850c54429b888794f7433e3c5" }

https://cwiki.apache.org/confluence/display/solr/Uploading+Data+with+Index+Handlers#UploadingDatawithIndexHandlers-JSONFormattedIndexUpdates


-Hoss
http://www.lucidworks.com/

Reply via email to