report

package
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: 10 Imported by: 0

Documentation

Overview

Package report implements the core of span-report: it creates data subsets from a SOLR index for reporting (e.g. ISSN/date histograms per collection).

Index

Constants

This section is empty.

Variables

View Source
var ReportTypes = []string{"basic", "json", "fast", "faster"}

ReportTypes lists the available report names.

Functions

func Run

func Run(cfg Config, w io.Writer) error

Run executes the configured report against the index and writes results to w.

Types

type Config

type Config struct {
	Server     string
	ReportName string
	SID        string
	Collection string
	Verbose    bool
	NumWorker  int
	BatchSize  int
}

Config holds the tunables for a report run.

func DefaultConfig

func DefaultConfig() Config

DefaultConfig returns the default configuration.

Jump to

Keyboard shortcuts

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