Hi Dhawal

Can you provide us with the full stack trace of the error when running the rake 
task?
  rake thinking_sphinx:index --trace

Thanks

-- 
Pat

On 20/10/2011, at 10:45 PM, dhawal wrote:

> Hi Guys,
> 
> I have a existing database which I want to use with ROR and thinking
> sphinx (for search and pagination).  I can search stuff from Sphinx
> Search server using command line using search command.
> 
> I have used --skip-migration switch while I create my model, as
> database is already in place.  Once the model is created I do set
> table_name and primary key in model.rb.
> 
> Further, I define define_index do method in it with fields and
> attributes. However, when I ran:  rake thinking_sphinx:index command
> it complain about table_name::field Unknown / not defined.
> 
> I believe, as the database was not created using ruby, thinking_sphinx
> is not able to see the fields? Can anyone please help me to progress
> further.
> 
> 
> 
> Thanking you in advance.
> 
> 
> 
> Regards,
> Dhawal.
> 
> 
> 
> 
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" 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/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en.

Reply via email to