반응형
retrieve
-
DocumentBackEnd/Elasticsearch API 2025. 3. 9. 10:00
Create# create an indexPUT /my_index{ "settings": { "index": { "number_of_shards": 1, // You can specify the number of shards here "number_of_replicas": 1 // Set to 0 for no replicas } }}# crate a documentPOST /my_index/_doc/100{ "title": "Elasticsearch Advanced", "author": "Anthony K", "publish_date": "2024-05-20", "tags": ["search", "analytics"]} RetrieveGET /my_index/..