summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/work_pipeline.py
Commit message (Collapse)AuthorAgeFilesLines
* Modernize Python syntax with pyupgrade --py38-plus **/*.pyChristian Clauss2021-02-231-1/+1
|
* fmt and lint fixes (including one actual bug)Bryan Newbold2021-02-151-1/+1
|
* more seaweedfs hacksBryan Newbold2021-02-121-0/+8
|
* enable sentry exceptions for workers and pipelinesBryan Newbold2021-01-301-1/+10
| | | | It is otherwise difficult to debug multi-million record pipelines.
* work pipeline: hack to skip seaweedfs errors for nowBryan Newbold2021-01-261-0/+5
| | | | | This isn't great becasue it turns a lot of problems into silent failures.
* sort keys in work pipeline (fix typo)Bryan Newbold2021-01-221-1/+1
|
* bug fix: actually fetch/include HTML fulltextBryan Newbold2021-01-221-1/+1
|
* add basic html fulltext support to fetch pipelineBryan Newbold2020-11-181-2/+46
|
* commands: show usage on empty commandBryan Newbold2020-11-021-1/+1
|
* work pipeline comparison fixBryan Newbold2020-10-281-0/+3
|
* Upgrade Dynaconf to 3+Bruno Rocha2020-10-051-1/+1
| | | | | | In dynaconf 3+ it is no more recommended to use `from dynaconf import settings` now the recommendation is to create your own instance of the settings object based on Dynaconf class.
* pipeline: skip grobid/pdftext lookups when no URL; prefer GROBID to pdftextBryan Newbold2020-07-271-1/+3
|
* json: exclude None in output, and sort keysBryan Newbold2020-07-271-2/+2
| | | | | | | | | | These are both size/performance enhancements. Not including 'None' values will reduce document sizes on-disk and over network, particularly for intermediate objects. Sorting by key should improve compression ratios across multiple documents, both on-disk (gzip) and in elasticsearch itself: https://www.elastic.co/guide/en/elasticsearch/reference/current/tune-for-disk-usage.html#_put_fields_in_the_same_order_in_documents
* fix lint errors (and some small bugs)Bryan Newbold2020-06-291-6/+8
|
* seaweedfs for S3 API; pull config from dynaconfBryan Newbold2020-06-291-11/+2
|
* make fmtBryan Newbold2020-06-291-1/+3
|
* fetch pdftotext and pdf_meta from blobs, postgrestBryan Newbold2020-06-291-18/+45
| | | | | This replaces the temporary COVID-19 content hack with production content (text, thumbnail URLs) stored in postgrest and seaweedfs.
* flake8 fixes (partial)Bryan Newbold2020-06-031-5/+2
|
* reformat python code with blackBryan Newbold2020-06-031-68/+120
|
* more petabox timeout handlingBryan Newbold2020-05-211-0/+3
|
* handle petabox read timeouts a bitBryan Newbold2020-05-211-1/+6
|
* fix typo with UnicodeDecodeError catchBryan Newbold2020-05-211-1/+1
|
* skip pdftotext loading on unicode errorBryan Newbold2020-05-201-0/+2
|
* skip SIM items w/o page_numbers (instead of asserting)Bryan Newbold2020-05-201-1/+3
|
* fixes from manual testingBryan Newbold2020-05-201-8/+13
|
* local pdftotext cache dir hackBryan Newbold2020-05-201-1/+18
|
* fixes to release+sim pipelineBryan Newbold2020-05-201-10/+16
|
* first pass transform from pipelines to ES schemaBryan Newbold2020-05-201-16/+1
|
* WIP on SIM pipelineBryan Newbold2020-05-191-2/+2
|
* WIP on release-to-sim fetchingBryan Newbold2020-05-191-12/+49
|
* initial progress on work pipelineBryan Newbold2020-05-161-0/+305