Skip to content

v1.5.0 — Search modes

Latest

Choose a tag to compare

@PCBZ PCBZ released this 27 Oct 23:58
ed6634f

Search modes — recall now takes a mode, so you can find an exact ID, name or error message that search by meaning ranks poorly.

  • similarity (default, unchanged) — by meaning, across languages
  • keyword — rows containing every word, case-insensitively
  • rrf — both, fused by rank

The default is unchanged, so existing callers see no difference. keyword may return fewer results than limit, or none, and paging through rrf reaches at most about 100 results.

This release also fixes how filtered vector search is configured when the database is reached through Neon's connection pooler. The setting from v1.4.1 was applied per connection, which the pooler does not honour; it is now applied per search.

It adds a pg_trgm extension and an index to the database schema, applied automatically before the deploy.

Full changelog: v1.4.1...v1.5.0