sphinx.cfg 852 Bytes
Newer Older
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
1 2 3 4 5 6 7 8 9 10
[buildout]
parts =
  sphinx-instance

[configuration]
sphinx_address = 127.0.0.1
sphinx_port = 9312
sphinx_sql_port = 9306

# below are candidates to be removed from global configuration
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
11 12
sphinx_data_directory = ${buildout:var-directory}/sphinx
sphinx_log_directory = ${buildout:log-directory}
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
13 14 15 16 17 18

[sphinx-instance]
depends =
  ${create-directories:command}
recipe = erp5.recipe.sphinxserver
sphinx_software_bin = ${software_definition:sphinx_software}/bin
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
19 20 21
sphinx_bin_directory =  ${buildout:data-bin-directory}
sphinx_data_directory = ${configuration:sphinx_data_directory}
sphinx_log_directory = ${configuration:sphinx_log_directory}
22
sphinx_conf_file = ${buildout:etc-directory}/sphinx.conf
Kazuhiko Shiozaki's avatar
Kazuhiko Shiozaki committed
23 24 25 26 27

# template related
sphinx_address = ${configuration:sphinx_address}
sphinx_port = ${configuration:sphinx_port}
sphinx_sql_port = ${configuration:sphinx_sql_port}