Is it the same version of Sphinx on both machines? And I'm guessing you've run rake ts:rebuild on your production server?
-- Pat On 15/02/2011, at 5:51 AM, gmoniey <[email protected]> wrote: > I'm not sure whats going on, and I was hoping someone could help point > me in the right direction as far as debugging is concerned. It seems > that when I perform a simple search on my production setup, I am > returned no results, while my local returns the correct result. > > I tested this in script/console, with the following query. On my > local, 1 result was returned (which is correct), while on production > an empty array is returned.: > > Contact.search('*107703*') > > I verified that I have the same set of gems on both machines. I > checked the logs, and they didn't report any errors. I'm not sure > where else to look. > > I also tried setting my local to production mode, and I continue to > get the correct results. So I don't believe it is an issue with my > yaml: > > development: > enable_star: 1 > min_infix_len: 1 > morphology: stem_en > > testing: > enable_star: 1 > min_infix_len: 1 > morphology: stem_en > > production: > version: 0.9.9 > mem_limit: 256M > enable_star: 1 > min_infix_len: 1 > morphology: stem_en > bin_path: "/usr/local/bin" > config_file: "/u/apps/my_app/shared/config/production.sphinx.conf" > searchd_file_path: "/u/apps/my_app/shared/system/sphinx" > searchd_log_file: "/u/apps/my_app/shared/log/searchd.log" > query_log_file: "/u/apps/my_app/shared/log/searchd.query.log" > pid_file: "/u/apps/my_app/shared/pids/searchd.pid" > > > It seems to only happen on specific records. Any ideas? Any other > places that I should be looking for debug info? > > -- > 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.
