Opensearch - rollthecloudinc/school GitHub Wiki

Notes

  • Security completely disabled
  • Single node cluster
  • Does not have RAG yet enabled

install

ansible-playbook playbooks/install_opensearch.yml

start

/opt/opensearch-2.19.0/bin/opensearch

create document

curl -X POST "http://127.0.0.1:9200/test-index/_doc/1" -H 'Content-Type: application/json' -d'
{
  "name": "Test Item",
  "description": "This is a test item",
  "created_at": "2025-06-01T17:20:00"
}'

get document

curl -X GET "http://127.0.0.1:9200/test-index/_doc/1" -H 'Content-Type: application/json'