Hi, I'm having trouble getting TS to return results within my Cucumber scenarios. I've followed the latest docs and have:
1) Disabled transactional fixtures globally, 2) Enabled DatabaseCleaner, using truncation for tests tagged '@search' and transactions otherwise, and 3) Implemented the indexing steps as suggested. The main config and sample output is shown here: https://gist.github.com/1380180 . As the output shows, I'm getting no results returned. In the example feature I've confirmed that the Product entries are in the database by dropping into a debugger session after the call to the indexer; Product.all returns three products, but Product.search("") returns nothing. I've tried much longer sleep statements after the TS::Test.index calls to no effect, so I'm pretty sure the problem isn't that the searchd daemon is being a bit slow to catch up; I can also see the index rotation reporting success in searchd.log at the appropriate times. All in all, I'm a bit stumped. Can anyone see if I'm doing something stupid? Any and all suggestions very gratefully received... :-) Cheers, Simon -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To view this discussion on the web visit https://groups.google.com/d/msg/thinking-sphinx/-/kCSEe269O8YJ. 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.
