package
0.0.0-20240625185110-2727207ea52a
Repository: https://github.com/sumanmukherjee03/practice-and-katas.git
Documentation: pkg.go.dev

# README

Development

Make sure you are using version 6.5.0 of elasticsearch and the proper client library as well.

For getting elasticsearch up and running locally try these commands

docker run -d --name elasticsearch -p 9200:9200 -p 9300:9300 -v $HOME/var/data/elasticsearch:/usr/share/elasticsearch/data -e "discovery.type=single-node" elasticsearch:6.5.0
curl -X GET "localhost:9200/_cat/master?v&pretty"
curl -X GET "localhost:9200/_cat/nodes?h=ip,port,heapPercent,name&pretty"
curl -X PUT -H "Content-Type: application/json" "localhost:9200/items" -d '{"settings": {"index": {"number_of_shards": 2, "number_of_replicas": 0}}}'
curl -X GET "localhost:9200/_cat/indices?v&pretty"

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author