Full-Text Search

Organization & Search

Search Everything, Instantly

Lion Reader’s full-text search is powered by PostgreSQL with English language stemming, giving you fast, relevant results across your entire archive. Search by title, content, or both — the search scope is fully configurable, so you can narrow down exactly what you’re looking for.

Search results can be combined with any other filter in Lion Reader: subscription, tag, read/unread state, starred entries, or entry type. This makes it easy to search within a specific newsletter, across all saved articles, or just your starred items. Results are ranked by relevance using PostgreSQL’s ts_rank algorithm.

Performance and Availability

Even with large archives containing thousands of entries, search remains fast thanks to database-level full-text indexing. Results use cursor-based pagination, so you can scroll through unlimited result sets without performance degradation. Search is available everywhere: the web UI, the tRPC API, and the MCP server for AI assistant integrations.

Search capabilities:

  • Full-text search — Across title, summary, and content
  • Configurable scope — Title-only, content-only, or both
  • Combine with filters — Subscription, tag, read state, starred, entry type
  • Relevance ranking — Results ranked by ts_rank
  • Fast indexing — Database-level full-text indexes
  • Cursor-based pagination — Efficient for large result sets