Thinking Sphinx only looks in app/models by default, but you can add additional model paths easy enough - probably put this in an initializer:
ThinkingSphinx::Configuration.instance.model_directories << Rails.root.join('vendor/extensions/models')
Cheers
--
Pat
> --
> 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/-/uvPjRU_zficJ.
> 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.
Il have created a thinking_sphinx.rb initializer with ThinkingSphinx::Configuration.instance.model_directories << "vendor/extensions/*/app/models/refinery" as mentionned on the blog but when I run ts:index I always receive the message FATAL: no indexes found in config file '...'
ThinkingSphinx::Configuration.instance.model_directories << Rails.root.join("vendor/extensions/*/app/models")
If Rails.root doesn't work (I'm not familiar with Refinery), then use some other way to get the full path.
Cheers
--
Pat
> --
> 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/-/rgDTZuikb9YJ.