I've been disabling caching to get around the issue, but this is 
problematic because editing views and reloading the page becomes impossible 
(have to restart the webserver instead, much slower).

I think I've isolated the problem though. If I have my indices in 
class_eval blocks inside a rails initialiser (I want to index some models 
implemented in an engine -- specifically the radar/forem engine). When I 
comment out the eval blocks for ::Forem::Post and ::Forem::Topic, and move 
my own model's indices into the model file (where they normally go) then 
development mode etc works properly.

While this is fine for my own model files (personal preferences aside) I'm 
not sure how best to go about indexing the engine models.
Is this something you have any experience with?

It's not a disaster if not, it still works in production and test modes, 
just slows down styling the search results page.

Cheers,
Nick

-- 
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/-/ubzxcdyiKskJ.
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