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

Documentation configuring multisearch #491

Open
rubenvoss opened this issue Aug 31, 2022 · 0 comments
Open

Documentation configuring multisearch #491

rubenvoss opened this issue Aug 31, 2022 · 0 comments

Comments

@rubenvoss
Copy link

When I used the following standard options for configuring the multisearch:
PgSearch.multisearch_options = { using: [:tsearch, :trigram], ignoring: :accents }
I got this error: (Object doesn't support #inspect)
and I had to drop, create, seed db in rails.

These are the options that worked for me, after dropping my db 5 times:
PgSearch.multisearch_options = { using: { tsearch: { prefix: true } } }

I suggest changing the readme to this
thanks 😁

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

No branches or pull requests

1 participant