Borg/docs
google-labs-jules[bot] c3865faf56 feat(search): Add full-text search and indexing for archives
This commit introduces two new commands: `borg search` and `borg index`.

The `borg index` command builds a trigram index for an archive, which can be used to significantly speed up searches.

The `borg search` command allows users to search for patterns within archives. It supports regular expressions, context control, file type filtering, and result limits. The command will automatically use a pre-built index if one is available, falling back to a full scan if not.

This commit also includes:
- Unit tests for the new commands.
- Documentation for the new commands in `docs/cli.md`.
- Updates to `.gitignore` to exclude index files.
- Improvements to the test infrastructure to prevent state pollution.

Co-authored-by: Snider <631881+Snider@users.noreply.github.com>
2026-02-02 00:52:46 +00:00
..
cli.md feat(search): Add full-text search and indexing for archives 2026-02-02 00:52:46 +00:00
development.md Update documentation for CLI and library usage 2025-11-24 23:58:50 +00:00
index.md feat: Add trix encryption and format 2025-11-14 13:47:27 +00:00
installation.md Update documentation for CLI and library usage 2025-11-24 23:58:50 +00:00
ipfs-distribution.md docs: add IPFS and payment 2026-01-13 15:17:22 +00:00
library.md Update documentation for CLI and library usage 2025-11-24 23:58:50 +00:00
payment-integration.md docs: add IPFS and payment 2026-01-13 15:17:22 +00:00
releasing.md Update documentation for CLI and library usage 2025-11-24 23:58:50 +00:00