source sm0 { type = xmlpipe xmlpipe_command = /usr/bin/php /home/dark/domains/example.com/html/sites/all/modules/sphinxsearch/scripts/xmlpipe.php --host=localhost --root=/home/dark/domains/example.com/html --mode=main --id=0 --first_nid=51 --last_nid=997 } source sm1 : sm0 { xmlpipe_command = /usr/bin/php /home/dark/domains/example.com/html/sites/all/modules/sphinxsearch/scripts/xmlpipe.php --host=localhost --root=/home/dark/domains/example.com/html --mode=main --id=1 --first_nid=998 --last_nid=3000 } source sm2 : sm0 { xmlpipe_command = /usr/bin/php /home/dark/domains/example.com/html/sites/all/modules/sphinxsearch/scripts/xmlpipe.php --host=localhost --root=/home/dark/domains/example.com/html --mode=main --id=1 --first_nid=3001 --last_nid=7700 } ... source sm12 : sm0 { xmlpipe_command = /usr/bin/php /home/dark/domains/example.com/html/sites/all/modules/sphinxsearch/scripts/xmlpipe.php --host=localhost --root=/home/dark/domains/example.com/html --mode=main --id=1 --first_nid=39001 --last_nid=45000 } ##### delta ##### source example_delta : sm0 { xmlpipe_command = /usr/bin/php /home/dark/domains/example.com/html/sites/all/modules/sphinxsearch/scripts/xmlpipe.php --host=localhost --root=/home/dark/domains/example.com/html --mode=delta } ###### index ###### index index_m0 { source = sm0 path = /home/dark/domains/example.com/html/sphinx/data/main0 docinfo = extern mlock = 1 morphology = stem_enru charset_type = utf-8 charset_table = 0..9, A..Z->a..z, _, a..z, U+410..U+42F->U+430..U+44F, U+430..U+44F min_word_len = 3 html_strip = 0 } index index_m1 : index_m0 { source = sm1 path = /home/dark/domains/example.com/html/sphinx/data/main1 } index index_m2 : index_m0 { source = sm2 path = /home/dark/domains/example.com/html/sphinx/data/main2 } ... index index_m12 : index_m0 { source = sm12 path = /home/dark/domains/example.com/html/sphinx/data/main12 } index index_delta : index_m0 { source = example_delta path = /home/dark/domains/example.com/html/sphinx/data/delta } ##### join ###### index index_example_join { type = distributed local = index_m0 local = index_m1 local = index_m2 ... local = index_m12 local = index_delta } ############################################################################# ## indexer settings ############################################################################# indexer { mem_limit = 1024M max_xmlpipe2_field = 8M } ############################################################################# ## searchd settings ############################################################################# searchd { port = 9312 log = /home/dark/domains/example.com/html/sphinx/log/example.searchd.log query_log = /home/dark/domains/example.com/html/sphinx/log/example.query.log read_timeout = 5 max_children = 30 pid_file = /home/dark/domains/example.com/html/sphinx/log/example.searchd.pid max_matches = 1000 seamless_rotate = 1 preopen_indexes = 1 unlink_old = 1 compat_sphinxql_magics = 0 }