span-crossref-fastproc

command
v0.2.36 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 18, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Overview

span-crossref-fastproc takes one or more raw crossref daily data slices (zstd compressed) and produces solr-importable output by running the equivalent of: span-import -i crossref | span-tag -unfreeze filterconfig.zip | span-export -with-fullrecord.

The filterconfig can be supplied as a frozen zip file (-f) or fetched directly from FOLIO API (via OKAPI_URL and OKAPI_TOKEN env vars), with automatic caching.

With "-o DIR" (the default), each input is written to DIR as a zstd file named after the input. With "-o -", all inputs are streamed uncompressed to stdout, e.g. for piping straight into solrbulk.

Usage:

span-crossref-fastproc -o /output/dir slice-2026-03-02.json.zst
span-crossref-fastproc -f filterconfig.zip slice-a.json.zst slice-b.json.zst
span-crossref-fastproc -o - slice-2026-03-02.json.zst | solrbulk -server ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL