products-bulk.json

curl -XPOST -H "Content-Type: application/json" "<http://localhost:9200/products/_bulk?pretty>" --data-binary @products-bulk.json
curl -XPUT '<http://localhost:9200/companydatabase?pretty>' -H 'Content-Type: application/json' -d '{   "mappings": {       "properties": {         "FirstName": {           "type": "text"         },         "LastName": {           "type": "text"         },         "Designation": {           "type": "text"         },         "Salary": {           "type": "integer"         },         "DateOfJoining": {           "type": "date",           "format": "yyyy-MM-dd"         },         "Address": {           "type": "text"         },         "Gender": {           "type": "text"         },         "Age": {           "type": "integer"         },         "MaritalStatus": {           "type": "text"         },         "Interests": {           "type": "text"         }       }   } }'
curl -XPUT '<http://localhost:9200/companydatabase/_bulk>' --data-binary @Employees100K.json

<aside> šŸ’” While inserting data if you get error ā€œunknown parameter _typeā€ then Follow

</aside>