I'm afraid the only place you can set the threshold value is in the index definition. Of course, you could define a constant somewhere and have that referenced within the index block *and* in the whenever configuration. Maybe worth giving that a shot?
-- Pat On 16/11/2011, at 4:45 PM, mohitnegi wrote: > Can i keep my threshold value in sphinx.yml file, or in some config file such > that Programatically my cron job and sphinx index should fetch it from the > file. > I will be using 'whenever' for my cron job, so is it possible to define the > threshold value somewhere such that both my index and 'whenever' fetches the > value from there. > > -- > 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/-/zu8UtZYYedgJ. > 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.
