Answer the question
In order to leave comments, you need to log in
Include in config
Is it possible, and if so, how, to implement this functionality:
There is a sphinx config file:
/etc/sphinxsearch/sphinx.conf
Is it possible to somehow include another configuration file in it, for example, located in:
/www/proj/sphinx .conf
Answer the question
In order to leave comments, you need to log in
There is no native support for includes, but for this you can write a config in a scripting language, specifying the desired interpreter.
Here
are a couple of examples:
on bash: http://adw0rd.com/2009/07/23/sphinx-include/#.UdF1R229CUk
on php: http://sphinxsearch.com/forum/view.html?id=1340
dynamic config generation in php http://www.ivinco.com/blog/scripting-in-sphinx-config/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question