Issue:
How can i delete documents from Fusion via the Index Pipeline API?
Environment:
Fusion
Resolution:
You can delete documents from Fusion using the Index Pipeline API.
For example: Say you have a document with id = 1234 which you would like to delete from Fusion. You can use any of the following 2 commands to delete the document in Fusion via API.
Note: Authentication passwords and collection names are required in the API request.
1) curl -u username:password -X POST -H "Content-Type: application/vnd.lucidworks-document" -d '[{
"id": "1234","commands": [{"name": "delete","params": {}},{"name": "commit","params": {}}]}]' http://localhost:8764/api/apollo/index-pipelines/index_pipeline_id/collections/collectionname/index
OR
Comments
0 comments
Please sign in to leave a comment.