So I was thinking to write a unit test to check that my searching with
Sphinx was working as I expected. I fired up rake
thinking_sphinx:start, and then wrote a test which pushed a couple of
records to the database and then ran Model.search("query"). However,
because the index had not been rebuilt since saving the records and
running the search, I get no results.

What is the recommended approach for this?

Thanks in advance,
Colin.

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