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

Equivalent of #none from ActiveRecord? #1248

Open
pdany1116 opened this issue Jul 31, 2023 · 0 comments
Open

Equivalent of #none from ActiveRecord? #1248

pdany1116 opened this issue Jul 31, 2023 · 0 comments

Comments

@pdany1116
Copy link

Hi, I want to always return an empty result set for a search. Active Record has #none method that does this (https://apidock.com/rails/v4.0.2/ActiveRecord/QueryMethods/none).

Is there any way to achieve this with Thinking Sphinx?

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