Unsterwerx

reindex

Rebuilds the SQLite FTS5 full-text search index from canonical content. Optionally runs canonical extraction for documents still in ingested status before rebuilding.

Usage

bash
unsterwerx reindex [OPTIONS]

Options

OptionShortTypeDefaultDescription
--skip-canonicalflagSkip canonical extraction for documents still in ingested status

Examples

Full reindex with extraction

bash
unsterwerx reindex
Extracting canonical content for pending ingested documents...
  Canonicalized 0 documents (0 failed)
Rebuilding FTS5 index...

Reindex Summary
══════════════════════════════════
  Canonical docs:       1807
  Indexed in FTS5:      1807
  Missing content:         0
  Total in FTS5:        1807
══════════════════════════════════

Reindex without extraction

bash
unsterwerx reindex --skip-canonical
Rebuilding FTS5 index...

Reindex Summary
══════════════════════════════════
  Canonical docs:       1807
  Indexed in FTS5:      1807
  Missing content:         0
  Total in FTS5:        1807
══════════════════════════════════

Notes