Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 348 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 348 Bytes

OpenSearch PHP Client Samples

Start an OpenSearch instance.

docker run -d -p 9200:9200 -p 9600:9600 -e "discovery.type=single-node" -e "OPENSEARCH_INITIAL_ADMIN_PASSWORD=myStrongPassword123!" opensearchproject/opensearch:latest

Run sample.

export OPENSEARCH_PASSWORD=myStrongPassword123!
composer install
composer run index