@drupflare/spool - v0.1.0
    Preparing search index...

    Function catalogueFigures

    • Catalogue figures from the views the sink holds and the worker's ledger entries. A view is a hit when its reason is catalogue; the ledger says how many entries arrived, how many served a view and what they weighed. documentBytes is what a hit keeps off the wire, DOCUMENT_BYTES (L1) unless the site knows its own, so bytesSaved is a scenario figure (L3) until shadow views measure the use share. The ledger counts uncompressed JSON text and a document is counted on the wire, so bytesNet compares unlike units.

      Parameters

      Returns CatalogueFigures