Hey all,
Been using thinkingsphinx for a while now. Just released a new version
of our site and took the opportunity to update to the latest release,
0.9.9. In development it proved to be working fine(mix of passenger,
mongrel), staging too (apache+passenger), then into production
(litespeed).

Herin lies two fatal flaws, one staging != production and the second
which foxed me, redirects after update on some controllers were
rendering the text headers and not re-directing.

Short answer: the delta update was causing redirects to breakdown by
interrupting the response. The clue was given to me from litespeed
tech by the way of "Maybe a error message to stdout by some code."

Checking the log, nothing was being outputted, certainly no puts were
lurking in the code. But only some re-directing was being broken,
principally only those controllers whose models were indexed and delta
flag true. Thus our client area, log in worked fine, click log out
(sets last active flag on client), resulted in a broken 302 re-direct
process.

The fix:
environment.rb >> ThinkingSphinx.suppress_delta_output = true

Restart litespeed and all our 302 following updates to delta tracked
models work...

Keep up the terrific work on TS, hope this helps others.


--~--~---------~--~----~------------~-------~--~----~
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