span-query

command
v0.2.31 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2026 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Overview

span-query runs read-only queries against a SOLR index, local files, or both.

It unifies functionality previously spread across span-index (index queries), span-compare-file (ISIL comparison), and span-report (ISSN/date reports) into a single tool with an extensible task registry.

Usage:

span-query -l                                          # list available tasks
span-query -t numdocs                                  # total docs in index
span-query -t sources                                  # list sources with counts
span-query -t isil-file file.zst                       # count ISILs in a file
span-query -t isil-compare -p sid:49 file.zst          # compare file vs index
span-query -t issn-report -p sid:49 -p c:"Some Coll"  # ISSN/date report

Jump to

Keyboard shortcuts

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