[Koha-bugs] [Bug 5166] Reintroduce a zebraqueue daemon, make several rebuild_zebra.pl functions a lib
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sun Dec 25 17:12:55 CET 2011
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5166
Frédéric Demians <frederic at tamil.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |frederic at tamil.fr
--- Comment #38 from Frédéric Demians <frederic at tamil.fr> 2011-12-25 16:12:55 UTC ---
I have an alternative implementation of a patch for this bug. I've
packaged it as a CPAN module for easy testing. It contains two scripts:
one for punctual indexing, and one for queued records indexing.
What is specific to this implementation:
- No use of POE, but AnyEvent:
http://search.cpan.org/dist/AnyEvent/
- Moose OO classes
- Export records for Zebra only in XML
- No records content modification (leader, authority id, unimarc 100
tag). As it is, it works with a lot of UNIMARC/MARC21 Koha instances
loaded with various records types.
How to test it:
- Install the module:
sudo cpan Koha::Contrib::Tamil
- You have two scripts installed:
koha-index
koha-index-daemon
- You can access their respective man pages:
man koha-index
man koha-index-daemon
- To reindex a whole DB, standard env variable being set:
koha-index --verbose
koha-index --source authority --verbose
- To start the indexing daemon, with indexing occurring every minute:
koha-index-daemon
- To start the same daemon, with indexing occuring every 30 seconds:
koha-index-daemon --timeout 30
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list