Ingest Data into OCI Search with OpenSearch
This use case demonstrates how to use the OpenSearch Adapter to ingest JSON payload data into OCI Search with OpenSearch.
The use case described in this section (with the configured payload/relative
URL/HTTP POST method) is equivalent to executing the following curl command against OCI Search with
OpenSearch.
curl "Username:Password" -X POST "https://localhost:9200/test_index/_doc?pretty=true" -H "Content-Type: application/json" -d '
{
"name": "product name",
"price": 19.99,
"description": "product description"
}'The curl command ingests a new document whose payload is passed as a
parameter in the test_index index and returns the new document
id if successful.






