Skip to content

Add Recoll full-text search plugin - #2

Open
hyiltiz wants to merge 1 commit into
mainfrom
add-recoll-plugin
Open

hyiltiz wants to merge 1 commit into
mainfrom
add-recoll-plugin

Conversation

@hyiltiz

@hyiltiz hyiltiz commented Mar 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Integrates Recoll full-text search into Albert via recollq CLI, querying the on-disk Xapian index without loading it into memory
  • Two search modes: r for filename search (recollq -f) and rr for full-text content search with abstract snippets
  • Configurable recollq path (auto-detected on macOS), result limit, debounce interval, and Recoll config directory via Albert settings UI
  • MIME-type based icons with category fallback

Test plan

  • Enable plugin in Albert Settings
  • Verify r <query> returns filename results with path as subtext
  • Verify rr <query> returns content results with abstract snippets
  • Confirm actions: Open, Open folder, Copy path, Open terminal
  • Confirm recollq auto-detection on macOS (/Applications/recoll.app/Contents/MacOS/recollq)
  • Verify debounce prevents subprocess churn during rapid typing
  • Verify graceful handling of missing binary, timeout, and no results

🤖 Generated with Claude Code

Wraps recollq CLI to query Recoll's Xapian index without loading
it into memory. Two search modes via separate triggers:
- r  : filename search (recollq -f)
- rr : full-text content search with abstracts

Configurable recollq path (auto-detected on macOS), result limit,
debounce interval, and alternative Recoll config directory.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant