Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Working with Curl/JQ extract from Solr
curl -g "localhost:8983/solr/statistics/select?q=time:[2017-09-01T00:00:00Z+TO+2017-10-01T00:00:00Z]&sort=time+asc&rows=10000&start=30000&wt=json" | jq '.response | [.docs[]|del(._version_)] ' | nice gzip -c > september3.json.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.