- Run
brew install elasticsearch
- Navigate to
cp-schema/search
and runcurl -H "Content-Type: application/json" -XPUT http://localhost:9200/t1 --data-binary @mappings.json
- Send docs i.e.
curl -H "Content-Type: application/json" -XPOST http://localhost:9200/t1/canonical -d '{"tegID": "12"}'
Last active
October 25, 2018 15:21
-
-
Save buddhamagnet/b2ef1289e41aa7f9634e79b637b42cbf to your computer and use it in GitHub Desktop.
Econ-elasticsearch-setup
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment