> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To post to this group, send email to thinkin...@googlegroups.com.
> To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
>
Neil, what happens if you add the following to your config/sphinx.yml file:
development:
indexed_models:
- Product
- AnyOtherIndexedModels
Of course, manually maintaining a list of indexed models is annoying... and I'm surprised that customer is being loaded twice, but not product. Still, let's see if we can at least get it working happily.
--
Pat
> Yes! This gets things working as expected.
Fantastic.
> So I assume that TS is working through the models searching for ones
> which define indices, but using the config file method allows it to
> skip that search?
Exactly right.
> Anyway, this workaround is perfectly good enough, so thank you so much
> for your advice, it's very much appreciated.
No worries... I think I might put this issue aside for the moment. If someone else comes across it, I hope they'll let me know, and I can dig deeper. I'm just surprised it hasn't cropped up before...
--
Pat