Thanks Thibaut !
On Jan 15, 4:09 pm, Thibaut Barrère <[email protected]> wrote:
> Hi again,
>
> if you use Capistrano with TS, one thing to know is that you can
> create a file named config/sphinx.yml (mine is under SVN) with the
> following content.
>
> This way sphinx will always use the same folders between deployments,
> without symlink issues.
>
> cheers
>
> -- Thibaut
>
> # see vendor/plugins/thinking-sphinx/lib/thinking_sphinx/
> configuration.rb
> # for production, use our own paths that reside under shared so they
> are kept between deployments
> # if we don't do so, the default configuration will point to the
> folder of the specific release instead
> # TODO - if it becomes interesting, create a template out of this file
> production:
> config_file: /var/sites/myapp/shared/config/production.sphinx.conf
> searchd_file_path: /var/sites/myapp/shared/db/sphinx/production
> searchd_log_file: /var/sites/myapp/shared/log/searchd.log
> query_log_file: /var/sites/myapp/shared/log/searchd.query.log
> pid_file: /var/sites/myapp/shared/log/searchd.production.pid
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---