fleet-memory/hindsight-api/hindsight_api/engine/search
Nicolò Boschi d871c3009d
feat: support timescale pg_textsearch as text search extension (#359)
* feat: support timescale pg_textsearch as text search extension

* refactor: deduplicate text search query in retrieve_semantic_bm25_combined

Instead of maintaining 3 complete query copies (native, vchord, pg_textsearch),
now we:
- Build backend-specific parts (score_expr, order_by, where_filter)
- Use a single query template with injected backend-specific parts

This makes maintenance easier - changes to the semantic CTE or overall structure
only need to be made once.
2026-02-12 17:38:13 +01:00
..
__init__.py chore: remove dead code (#356) 2026-02-12 14:44:00 +01:00
fusion.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
graph_retrieval.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00
link_expansion_retrieval.py fix: graph endpoint not showing links for observations (#214) 2026-01-28 14:51:25 +01:00
mpfp_retrieval.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00
reranking.py fix: improve tei client parameters (#137) 2026-01-09 11:31:22 +01:00
retrieval.py feat: support timescale pg_textsearch as text search extension (#359) 2026-02-12 17:38:13 +01:00
tags.py feat: add memory tags (#152) 2026-01-13 18:28:40 +01:00
temporal_extraction.py fix: doc build and lint files (#34) 2025-12-16 13:49:09 +01:00
think_utils.py fix(ci): resolve flaky test failures in api tests (#311) 2026-02-06 13:56:59 +01:00
trace.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00
tracer.py feat: revisit mental models, directives and reflections (#179) 2026-01-22 17:13:16 +01:00
types.py chore: drop unused access_count column (#178) 2026-01-20 10:36:02 +01:00