Last active
August 29, 2015 14:06
-
-
Save langsharpe/a54a3872d06ad6627dba to your computer and use it in GitHub Desktop.
Elasticsearch cheat sheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Number of documents in an index | |
curl -s http://localhost:9200/test_volunteering_entities/_stats/docs | jq '._all.total.docs.count' | |
# First ten items in an index | |
curl -s http://localhost:9200/development_charities/_search?size=10 | jq '.hits.hits[] | ._source.name' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment