]> git.koha-community.org Git - koha.git/commit
Bug 11081: Port Koha::Contrib::Tamil indexer into Koha code base
authorFrédéric Demians <f.demians@tamil.fr>
Sun, 20 Oct 2013 06:44:55 +0000 (08:44 +0200)
committerBrendan A Gallagher <brendan@bywatersolutions.com>
Wed, 27 Jan 2016 06:30:44 +0000 (06:30 +0000)
commit6d44b0a91ad0245b45b367e543f097ba64856e5f
tree5d907e8a978b38eeb3261a7826296a83591adf75
parent0dd817178b3f9690e620aba24db8940858d8be8f
 Bug 11081: Port Koha::Contrib::Tamil indexer into Koha code base

Add two scripts for indexing: koha-index and koha-index-daemon.

Documentation:

  perldoc koha-index
  perldoc koha-index-daemon

New dependencies:

  MooseX::Getopt
  MooseX::RW
  AnyEvent::Processor

Available as a Debian package: libmoosex-getopt-perl

Test plan:

- Apply the patch
- Install dependencies, if necessary
- Reindex a whole biblio catalog:
  koha-index --verbose
- Reindex a whole authorities catalog:
  koha-index --source authority --verbose
- Modify 1 biblio record, and index it:
  koha-index --select queue
- Modifiy 1 authority record, and index it:
  koha-index --select queue --source authority
- Run indexing daemon, with a 15s timeout:
  koha-index-daemon --timeout 15
- Modify a biblio record: wait 15s, and see
- Modify an authority record: wait 15s, and see

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works well, followed test plan without problems

One comment: perhaps an option for koha-index-daemon
to work quietly, without printing information.

No koha-qa errors, but new files don't have license,
fixed in followup

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Brendan A Gallagher <brendan@bywatersolutions.com>
C4/Installer/PerlDependencies.pm
Koha/Indexer/Daemon.pm [new file with mode: 0644]
Koha/Indexer/Indexing.pm [new file with mode: 0644]
Koha/Indexer/RecordReader.pm [new file with mode: 0644]
Koha/Indexer/RecordWriter.pm [new file with mode: 0644]
misc/bin/koha-index [new file with mode: 0755]
misc/bin/koha-index-daemon [new file with mode: 0755]