How can i insert multiple records through 1 querry in elasticsearch

my index name is "products" that have fields of name,description,id,price it has 40 records i want to create automatically add 1000 records in it can anyone help i am new to it

Please add more context, it's really not clear on where you are starting from and what your outcome expectations would look like.

Option 1) Bulk API - Bulk API | Elasticsearch Guide [8.5] | Elastic
Option 2) Create a CSV of your data and upload it - Import CSV and Log Data into Elasticsearch from Kibana with File Data Visualizer | Elastic Blog

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.