Expand description
PostgreSQL pg_search BM25 query sanitization and execution.
The module name stays fts to keep command wiring stable; runtime keyword
search is pg_search BM25 against Gobby’s PostgreSQL hub.
Structs§
Constants§
Functions§
- compile_
patterns - count_
content - Count matching content chunks using pg_search BM25, with LIKE fallback.
- count_
text - Count matching symbols using pg_search BM25, with LIKE fallback.
- expand_
paths - path_
filter_ falls_ back - resolve_
graph_ symbol - Resolve user input to a canonical symbol id for graph queries.
- sanitize_
pg_ search_ query - Sanitize user input for pg_search’s BM25 query DSL.
- search_
content - Full-text search across file content chunks.
- search_
symbols_ by_ name - Fallback LIKE search on symbol names.
- search_
symbols_ exact_ first - search_
symbols_ fts - BM25 search across symbol names, qualified names, signatures, docstrings, and summaries.
- search_
text - Full-text search for symbols: BM25 with LIKE fallback.