acts_as_sphinx - options[:sort_mode] = [:attr_desc, 'purchase_count']

Railsers:

I can't find acts_as_sphinx's forum, so I must throw this question open:

We have installed acts_as_sphinx and set almost everything up. The only issue is getting the :sort_mode working. Now we want to rank products by number of purchases.

When we pass the above options to ask_sphinx, we just get a 105 error out of getResponse().

Sphinx says that purchase_count is a valid column in its index. But the search command line tool does not seem to accept that sort mode, so we can't cross-check.

Any ideas?

Also, can we get a GetLastError() out of the Sphinx, to get 105 in English?

dunno answer, but here's forum:

http://www.sphinxsearch.com/forum/index.html

I can't find acts_as_sphinx's forum, so I must throw this question open:

We have installed acts_as_sphinx and set almost everything up. The only issue is
getting the :sort_mode working. Now we want to rank products by number of purchases.

When we pass the above options to ask_sphinx, we just get a 105 error out of
getResponse().

Sphinx says that purchase_count is a valid column in its index. But the search
command line tool does not seem to accept that sort mode, so we can't cross-check.

Any ideas?

Also, can we get a GetLastError() out of the Sphinx, to get 105 in English?

dunno answer, but here's forum:

http://www.sphinxsearch.com/forum/index.html

Thanks, but they are not likely to know why acts_as_sphinx doesn't call GetLastError..!