Adding Documents to an Index
To add a document to our Elasticsearch index, let’s open Sense and issue a PUT request. When adding a document to an index, it is optional if you want to supply an ID for the document. If the ID is omitted, then Elasticsearch will generate a random ID and then use it to index the… read more