Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- indexer
- {
- }
- searchd
- {
- listen = 127.0.0.1:9307:mysql41
- log = /home/vagrant/data/app/log/test.searchd.log
- query_log = /home/vagrant/data/app/log/test.searchd.query.log
- pid_file = /home/vagrant/data/app/log/test.sphinx.pid
- workers = threads
- binlog_path = /home/vagrant/data/app/tmp/binlog/test
- }
- index review_core
- {
- type = rt
- path = /home/vagrant/data/app/db/sphinx/test/review_core
- min_infix_len = 3
- rt_field = title
- rt_field = body
- rt_field = author
- rt_attr_uint = sphinx_deleted
- rt_attr_uint = author_id
- rt_attr_uint = created_at
- rt_attr_uint = updated_at
- rt_attr_bigint = sphinx_internal_id
- rt_attr_string = sphinx_internal_class
- rt_attr_string = title_sort
- rt_attr_string = author_sort
- }
- index user_core
- {
- type = rt
- path = /home/vagrant/data/app/db/sphinx/test/user_core
- min_infix_len = 3
- rt_field = username
- rt_attr_uint = sphinx_deleted
- rt_attr_uint = created_at
- rt_attr_uint = updated_at
- rt_attr_bigint = sphinx_internal_id
- rt_attr_string = sphinx_internal_class
- rt_attr_string = username_sort
- }
- index review
- {
- type = distributed
- local = review_core
- }
- index user
- {
- type = distributed
- local = user_core
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement