Hi Pat, Thx for your quick reply.
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 '...' > Cheers. Le vendredi 17 août 2012 15:35:35 UTC+2, Louis-Philippe a écrit : > > Hi, > > I try to integrate TS with Refinery but it seems that TS doesn't find / > execute my define_index method. Here is the message when running ts:index > "FATAL: no indexes found in config file > '.../config/development.sphinx.conf' Only indexer and searchd sections are > filled, no source, nor index. > > I wonder if it can be due to the complexity of the structure. The model is > in /vendor/extensions/models, : > > module Refinery > module Products > class Product < Refinery::Core::BaseModel > self.table_name = 'refinery_products' > ... > define_index do > indexes name > set_property :delta => true > end > ... > end > end > end > > Thx by advance for your help ! > -- 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. 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.
