Re: [Koha-devel] [Koha] Zebra (Koha 3.20.05) - Run it as a cron job or use default daemon?
Tomas Cohen Arazi schreef op ma 02-11-2015 om 14:55 [-0300]:
To enable it you need to - Comment the rebuild_zebra.pl line in /etc/cron.d/koha-common - Enable the indexer daemon in /etc/default/koha-common - Restart Koha's daemons: $ sudo service koha-common stop ; sudo service koha-common start
Y'know, it could be reasonable to have the rebuilder check the state of the indexer daemon switch and not do anything if it's on. -- Robin Sheat Catalyst IT Ltd. ✆ +64 4 803 2204 GPG: 5FA7 4B49 1E4D CAA4 4C38 8505 77F5 B724 F871 3BDF
On Mon, Nov 2, 2015 at 5:00 PM, Robin Sheat <robin@catalyst.net.nz> wrote:
Tomas Cohen Arazi schreef op ma 02-11-2015 om 14:55 [-0300]:
To enable it you need to - Comment the rebuild_zebra.pl line in /etc/cron.d/koha-common - Enable the indexer daemon in /etc/default/koha-common - Restart Koha's daemons: $ sudo service koha-common stop ; sudo service koha-common start
Y'know, it could be reasonable to have the rebuilder check the state of the indexer daemon switch and not do anything if it's on.
Or, to take this a step further, have some sort of trigger that would request that all items get rebuilt by the daemon, obviating the need for a full rebuild.
2015-11-03 11:00 GMT-03:00 Barton Chittenden <barton@bywatersolutions.com>:
On Mon, Nov 2, 2015 at 5:00 PM, Robin Sheat <robin@catalyst.net.nz> wrote:
Tomas Cohen Arazi schreef op ma 02-11-2015 om 14:55 [-0300]:
To enable it you need to - Comment the rebuild_zebra.pl line in /etc/cron.d/koha-common - Enable the indexer daemon in /etc/default/koha-common - Restart Koha's daemons: $ sudo service koha-common stop ; sudo service koha-common start
Y'know, it could be reasonable to have the rebuilder check the state of the indexer daemon switch and not do anything if it's on.
Or, to take this a step further, have some sort of trigger that would request that all items get rebuilt by the daemon, obviating the need for a full rebuild.
Nah, this is an incremental update thing. We could discuss polling vs. using a real queue management tool. But that's for another thread I guess. -- Tomás Cohen Arazi Theke Solutions (http://theke.io) ✆ +54 9351 3513384 GPG: B76C 6E7C 2D80 551A C765 E225 0A27 2EA1 B2F3 C15F
participants (3)
-
Barton Chittenden -
Robin Sheat -
Tomas Cohen Arazi