pat / thinking-sphinx

Sphinx/Manticore plugin for ActiveRecord/Rails

Home Page:http://freelancing-gods.com/thinking-sphinx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Equivalent of `#none` from ActiveRecord?

pdany1116 opened this issue · comments

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!