Skip to content

Conversation

@MasterOdin
Copy link
Contributor

@MasterOdin MasterOdin commented Oct 7, 2025

PR does:

  1. Adds a migration for enabling the pg_textsearch extension along with creating the necessary index on timescale_chunks.content. Split off into feat: add migration for pg_textsearch #33 where that can be merged later once extension is generally available.
  2. Updates the function we use in the keyword search tool to its new name (to_bm25query)
  3. Works around a bug in pg_textsearch where when an index is added to a table in non-default schema, then inserts will fail. The fix is to remove the index as we do the ingest into the temporary table, and then re-add it after we're done. This change should be removed in a follow-up PR though.

By default the migration will be skipped as it can only be enabled in tiger cloud environments.

@MasterOdin MasterOdin changed the title fix: add migration for pg_textsearch fix: updates for using pg_textsearch for keyword search Oct 7, 2025
@MasterOdin MasterOdin force-pushed the mpeveler/feat-text-search branch from 4dcaa4b to 5193d30 Compare October 7, 2025 23:49
@MasterOdin MasterOdin merged commit b1d5f66 into main Oct 8, 2025
4 checks passed
@MasterOdin MasterOdin deleted the mpeveler/feat-text-search branch October 8, 2025 02:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants