ThinkingSphinx returns an empty result in the console

I am having the same problem as here:

sphinx and console thinking

(I tried to ask a question in this thread, but could not ...)

In principle, any search performed in the console returns an empty result. However, if I do a site search, it works great.

But they are in development mode on my local machine. (OS X)

Example:

> Article.search 'eating' [] 

The same browser search returns the expected results.

I am constantly rebuilding indexes. Killed with ThinkingSphinx and rebuild it, etc. Nothing will change the console.

This is with Rails 3 and Ruby 1.9.2-p180

Any insight would be wonderful.

Thanks.

0
source share

All Articles