-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Offer content type JSON Lines and format gzip #91
Comments
And also support format gzip via content header. |
Deployed to stage, see: http://stage.lobid.org/gnd/search?q=ehrenfeld&format=bulk Tested uncompressed request for all corporate bodies:
This yields a 1.7 GB file. Took about:
Tested same request, but compressed (handled by the Apache proxy):
This yields a 174 MB file. Took about:
See also documentation: http://stage.lobid.org/gnd/api#content_types |
You should also be able to get jsonlines and gzip for a filter query. I tried Furthermore, as we discussed online we will use |
Downloading the whole GND as gzip (1,5 GB, unzipped 14 GB) took just 13 minutes. So, this definitely works like a charm. |
For consistency with `html`, `json`, etc. See #91
Looks good. One minor problem is left, though, which actually was there before this ticket. http://lobid.org/gnd/4074335-4.jsonl also gives back JSON and not JSON lines as doest http://lobid.org/gnd/4074335-4.jsonfoo. We should only allow a colon |
Don't fall back to JSON if unsupported format was requested See #91
+1 |
As in lobid-resources, see http://lobid.org/resources/api#content_types
The text was updated successfully, but these errors were encountered: