Hi all,
I'm trying to get Sphinx working and running into a bit of a problem. So far I've installed Postgres 8.3.1, Sphinx 0.9.7 and run the sphinx configure rake task. Now when I try to run the bootstrap rake task I get the output listed below. Anyone know why this is happening?
Rebuilding configurations for production environment
Available models are MergeRequest, Comment and Project
Generating SQL
$ indexer --config '/usr/local/www/gitorious/config/ultrasphinx/production.conf' --all
Sphinx 0.9.7
Copyright (c) 2001-2007, Andrew Aksyonoff
using config file '/usr/local/www/gitorious/config/ultrasphinx/production.conf'...
indexing index 'main'...
ERROR: sql_range_query: ERROR: syntax error at or near "."
LINE 1: ... category, 'Comment' AS class, 1 AS class_id, user.login AS ...
^
(DSN=pgsql://gitorious:***@localhost:5432/gitorious).
ERROR: index 'main': (no error message).
total 0 docs, 0 bytes
total 0.030 sec, 0.00 bytes/sec, 0.00 docs/sec
Sphinx 0.9.7
Copyright (c) 2001-2007, Andrew Aksyonoff
using config file '/usr/local/www/gitorious/config/ultrasphinx/production.conf'...
WARNING: index 'main': failed to preload schema and docinfos - NOT SERVING
FATAL: no valid indexes to serve
shutdown complete
Failed to start
Done
Please restart your application containers
--
Thanks
- Jacob Atzen