Hello,

I'm using Sphinx search engine for my application, and I would like to add 
ruby code inside the sphinx.conf file to update some values dynamically 
based on my application server hostname? Is it possible to execute the ruby 
code inside sphinx.conf?  Something like below

{
  type = mysql
  sql_host = testHost
  sql_user = test
*  sql_pass = <%= D.decrypt("encrypted password") %>*
  sql_db = {{database_name}}
  sql_query_pre = SET TIME_ZONE = '+0:00'
  sql_query_pre = SET SESSION group_concat_max_len = 32768
  sql_query_pre = SET NAMES utf8
 }

regards,
Loganathan

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to