Thinking Sphinx Problem

Hi,

I am using *Thinking Sphinx version 2.0.11 in one of my project. To
create
an index I ran
**rake thinking_sphinx:index *and I got the following
error

Generating Configuration to /home/saidev/Ubuntu
One/burgundy/ssearch/config/development.sphinx.conf
rake aborted!
At least one field is necessary for an index

Tasks: TOP => thinking_sphinx:index
(See full trace by running task with --trace)*

This is the first time I am using Sphinx on Rails. Any help?

It’s hard to tell. It looks like you don’t have anything defined in
define_index.

If you have

define_index do
indexes name
end

in your model and it doesn’t work
try to tests

indexes “‘’”, :as => :empty

and try then.

Did you look on
http://freelancing-god.github.com/ts/en/indexing.html#processing ?
I found everything there. They have good documentation

We got it! Thanks. We Installed Sphinx from Ubuntu repository thatn from
downloading it from the Sphinx page.

On Tue, Jun 19, 2012 at 6:51 PM, Ewelina Lis
[email protected]wrote:

try to tests
On Tuesday, 19 June 2012 at 15:07, Karthikeyan A.K wrote:
At least one field is necessary for an index


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Nothing is constant

Regards

A.K.Karthikeyan