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

Search improvements #718

Merged
merged 2 commits into from
Dec 7, 2023
Merged

Conversation

nflorentin
Copy link
Contributor

fix #716

(Offers/inquiries were already case insensitive)

Copy link
Collaborator

@markets markets left a comment

Choose a reason for hiding this comment

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

Nice 👌🏼

Yes, offers/inquiries search is built with the pg_search gem:

pg_search_scope :search_by_query,
against: [:title, :description, :tags],
ignoring: :accents,
using: {
tsearch: {
prefix: true,
tsvector_column: 'tsv'
}
}

For some context, this was done during the Elasticsearch ✂️ #568

@markets markets merged commit 38164d6 into coopdevs:develop Dec 7, 2023
1 of 2 checks passed
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.

all searches should be accent insensitive
2 participants