1、手动指定document id
PUT /test_index/test_type/2
{
"test_content": "my test"
}
2、自动生成document id
POST /test_index/test_type
{
"test_content": "my test"
}
1、手动指定document id
PUT /test_index/test_type/2
{
"test_content": "my test"
}
2、自动生成document id
POST /test_index/test_type
{
"test_content": "my test"
}