Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple configuration to ts_query #8215

Merged
merged 1 commit into from
Oct 30, 2024
Merged

Add simple configuration to ts_query #8215

merged 1 commit into from
Oct 30, 2024

Conversation

ijreilly
Copy link
Collaborator

In the expression of our searchVector fields, we use the "simple" configuration (over the default "english" one), to avoid picking a language that's irrelevant to the user.
I initially forgot to add the same configuration to the query that is being sent using ts_query.
Adding it will also allow the search to work for a single character, while so far a single letter was most of the time considered a "stop word" (a word with no semantic value, like "a").

@lucasbordeau lucasbordeau enabled auto-merge (squash) October 30, 2024 15:48
Copy link
Member

@Weiko Weiko left a comment

Choose a reason for hiding this comment

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

Interesting, thanks @ijreilly!

@Weiko Weiko disabled auto-merge October 30, 2024 15:58
@Weiko Weiko merged commit 692c4ba into main Oct 30, 2024
17 of 18 checks passed
@Weiko Weiko deleted the fix-query-single-char branch October 30, 2024 15:58
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.

3 participants