Discover Packages
github.com/miku/span
internal
cmd
comparefile
package
Version:
v0.2.37
Opens a new window with list of versions in this module.
Published: Aug 20, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package comparefile implements the core of span-compare-file: it compares
ISIL (institution) counts between a local file (solr export format JSONL) and
a Solr index, emitting a table with ISIL, file count, index count, difference
and percentage change.
Run counts ISILs in the input stream, queries the index via facet, and writes
the comparison table to w.
Config holds the tunables for a compare-file run.
DefaultConfig returns the default configuration.
FacetFunc returns per-value counts for a facet field given a query. It
abstracts the Solr index so Run can be tested without a live server.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.