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?* * -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cosIlhwbbf4J. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 On Tuesday, 19 June 2012 at 15:07, Karthikeyan A.K wrote:> 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? > > > > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/cosIlhwbbf4J. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org (mailto:rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org). > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <elis.lisiczka-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> 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 > > > On Tuesday, 19 June 2012 at 15:07, Karthikeyan A.K wrote: > > 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?* > > > > > * > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/rubyonrails-talk/-/cosIlhwbbf4J. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- Nothing is constant Regards A.K.Karthikeyan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.