Created
January 22, 2018 10:06
-
-
Save michalczukm/e0a43fae03a0a38986f03dc3c39997ac to your computer and use it in GitHub Desktop.
Get Elastic Search (ELS) data via cURL, to file
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
curl -X GET http://localhost:9200/dev-1/categorysearchproductmodel/_search?pretty=true -d '{ | |
"sort" : [ | |
{ "_uid" : {"order" : "asc"}} | |
], | |
"query": { | |
"match_all": {} | |
} | |
}' > els-now.json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment