Hi Tiago Can you share with us the index definition from the generated configuration file? Make sure you remove any database credentials.
Cheers -- Pat On 08/12/2012, at 3:26 AM, Tiago Cardoso wrote: > Hi, > > I'm using the thinking sphinx gem for rails 3. I'm currently in the process > of indexing additional fields on a certain model. Somehow I've seem to hit an > indexer threshold. The configuration file is rightly generated. The query > occupies 9 lines (basically, it is too big to fit in one line). I've queried > it myself in mysql and it works. But somehow, the indexer can't build the > index with the query as it is written in the configuration file. It responds > with "sql_query_range: : macro '$start' not found in match fetch query." . > After noticing that has something to do with the query being written on 9 > lines, I've updated the query so that it would fit 1 line. But then the > indexer failed due to considering the query too long. > > How can I approach the problem here? Is it really that big of a query? Can I > somehow set the maximum query size (preferably in my rails app)? > > -- > 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/-/bP-pmxmH4tUJ. > 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. -- 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.
