Ask Your Question
2

Is it possible to use Sphinx with Postgres?

asked 2012-07-12 13:30:30 -0500

Erick Almeida gravatar image

updated 2012-07-12 17:01:04 -0500

todofixthis gravatar image

Is it possible to use Sphinx with Postgres?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2012-07-12 13:37:17 -0500

Evgeny gravatar image

Not as it is coded now. Is Sphinx search better than Postgres FTS?

We are adding support of Haystack soon, already have the code on one of the development branches.

edit flag offensive delete link more

Comments

I need configure something for search's in Askbot work with Postgres FTS?

Erick Almeida gravatar imageErick Almeida ( 2012-07-12 13:42:46 -0500 )edit

No, the configuration for that is built in. If you run migrations FTS will be set up. There is also a management command init_postgresql_full_text_search. If you are bypassing migrations with syncdb --all, then run that command afterwards. The command can be run many times without any issues.

Evgeny gravatar imageEvgeny ( 2012-07-12 13:47:31 -0500 )edit

How do I run this management command?

Erick Almeida gravatar imageErick Almeida ( 2012-07-12 13:50:22 -0500 )edit

python manage.py command_name

Evgeny gravatar imageEvgeny ( 2012-07-12 13:51:00 -0500 )edit

./manage.py init_postgres_full_text_search This command does't run.

Erick Almeida gravatar imageErick Almeida ( 2012-07-12 13:57:50 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2012-07-12 13:30:30 -0500

Seen: 406 times

Last updated: Jul 12 '12