I guess the first thing is: have you added the status field or created_at
attribute recently? Have you reindexed and restarted Sphinx on your production
server since those changes? And what does your define_index block look like?
Also: what version of TS are you using?
Cheers
--
Pat
On 06/01/2010, at 7:02 AM, zmbmartin wrote:
> I am using @posts = Post.search(params[:search], :conditions =>
> { :status => 'Publish' }, :page => params[:page], :per_page =>
> 5, :order => 'created_at desc')
>
> in development mode it works fine but in production I am getting no
> results?
>
> Not sure where to start
> --
> 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.