> For the complete documentation index, see [llms.txt](https://learnsql.gitbook.io/lernmysql/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learnsql.gitbook.io/lernmysql/them-du-lieu-vao-index-ok.md).

# Thêm dữ liệu vào index (ok)

```
curl -XPUT 'http://localhost:9200/product/_doc/1'  -H 'Content-Type: application/json' -d ' { "name": "name1", "age": 1 } '
```
