Deleting a document (student data)

Deleting the document is straightforward. You need to use the HTTP DELETE method. Just specify _id of the document you wish to delete, as follows.

With a REST client (Postman), do the following:

  • URL: http://localhost:9200/students/student/1
  • Method: DELETE

With Kibana, use the following:

DELETE students/student/1
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.196.182