Skip to content

Conversation

@sthelemann
Copy link
Contributor

A new table vibetype.event_search_vector to accommodate search vectors for every supported language, so each event will have multiple search vectors.

@sthelemann sthelemann requested a review from dargmuesli June 18, 2025 20:38
@@ -0,0 +1,30 @@
BEGIN;

CREATE TABLE vibetype.event_search_vector (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Introducing a new table makes the availability of search vectors more flexible which can be a good or bad thing. Right now I'd like to rely on search vectors to be available / not null for all supported languages to prevent confusion when data is missing partly.

@dargmuesli dargmuesli linked an issue Jun 19, 2025 that may be closed by this pull request
@dargmuesli dargmuesli changed the base branch from main to beta June 19, 2025 01:17
@dargmuesli
Copy link
Member

Make sure the changes base on beta if they are breaking, I changed the target branch of this PR accordingly.

A new table `vibetype.event_search_vector` to accommodate search vectors for every supported language, so each event will have multiple search vectors.
@sthelemann sthelemann force-pushed the feat/search/multi-language branch from 8a50137 to b5a3b43 Compare June 23, 2025 21:35
Function `event_search` was modified to align with the new 1-to-many relationship between events and text search vectors. Tests were added.
@sthelemann sthelemann force-pushed the feat/search/multi-language branch from b515bda to 74a5a9a Compare June 25, 2025 22:47
@CLAassistant
Copy link

CLAassistant commented Jun 28, 2025

CLA assistant check
All committers have signed the CLA.

Base automatically changed from beta to main December 20, 2025 15:11
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.

fix(search): improve multi-language support

3 participants