After Update search is broken

Issue #103 resolved
Karsten Bandlow created an issue

After upgrade to master branch from masterbranch Version from end Juni, breaks the search. I merge the dailyindex into my sphinx conf and run reindex all. In the Documentation are a few errors the parameter switches need two -- /usr/local/bin/indexer delta1 --rotate /usr/local/bin/indexer --merge main1 delta1 --merge-dst-range deleted 0 0 --rotate

Comments (5)

  1. Janos SUTO repo owner

    Well, I've just redesigned the sphinx indexing scheme to provide a better performance.

    Recently I switched to a delta-delta -> delta -> main scheme. in order to upgrade, do the following please:

    1. disable all indexer jobs from piler's crontab

    2. process any pending delta data, then merge it to main: indexer delta1 --rotate indexer --merge dailydelta1 delta1 --merge-dst-range deleted 0 0 --rotate

    3. edit sphinx.conf and add entries related to dailydelta

    4. run: indexer dailydelta1

    5. restart searchd: /etc/init.d/rc.searchd restart

    6. copy util/indexer.*.sh to /usr/local/libexec/piler

    7. update the piler cron entries:

    remove all current indexer jobs, then add the following jobs:

    5,35 * * /usr/local/libexec/piler/indexer.delta.sh 15 2 * * * /usr/local/libexec/piler/indexer.main.sh

    1. update config.php to include dailydelta1:

    $config['SPHINX_MAIN_INDEX'] = 'dailydelta1,main1,main2,main3,main4';

    Note that if you don't have main2, main3, main4, then you may omit them, ie.

    $config['SPHINX_MAIN_INDEX'] = 'dailydelta1,main1';

  2. Janos SUTO repo owner

    Ehh, the bitbucket form broke my formatting, so I'm going to add this info to the upgrade docs anyway.

  3. Log in to comment