Frédéric Demians > Koha-Contrib-Tamil-0.032 > Koha::Contrib::Tamil::IndexerDaemon

Download:
Koha-Contrib-Tamil-0.032.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.032   Source  

NAME ^

Koha::Contrib::Tamil::IndexerDaemon - Class implementing a Koha records indexer daemon

VERSION ^

version 0.032

SYNOPSIS ^

 # Index Koha queued biblio/authority records every minute.
 # KOHA_CONF environment variable is used to find which Koha
 # instance to use.
 # Records are exported from Koha DB into files located in
 # the current directory
 my $daemon = Koha::Contrib::Tamil::IndexerDaemon->new();

 my $daemon = Koha::Contrib::Tamil::IndexerDaemon->new(
    timeout   => 20,
    conf      => '/home/koha/mylib/etc/koha-conf.xml',
    directory => '/home/koha/mylib/tmp',
    verbose   => 1 );

ATTRIBUTES ^

conf($file_name)

Koha configuration file name. If not supplied, KOHA_CONF environment variable is used to locate the configuration file.

directory($directory_name)

Location of the directory where to export biblio/authority records before sending them to Zebra indexer.

timeout($seconds)

Number of seconds between indexing.

verbose(0|1)

Task verbosity.

AUTHOR ^

Frédéric Demians <f.demians@tamil.fr>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2013 by Fréderic Démians.

This is free software, licensed under:

  The GNU General Public License, Version 3, June 2007
syntax highlighting: