pg-search-includes-one-hop-neighbors

IN premise

PostgreSQL full-text search via `plainto_tsquery` includes 1-hop neighbor expansion — direct antecedents and dependents of matching nodes are included in results, providing richer context than exact-match-only search.

Summary

When you search for something in the system, the results don't just show exact matches — they also pull in directly connected beliefs (the ones that support or depend on a match). This means search results come with built-in context, so you can understand relationships without having to manually trace connections yourself.

Details

Sourceentries/2026/05/11/reasons_lib-pg.md