[Koha-bugs] [Bug 7759] New: Use Koha-Contrib-Tamil to update Zebra data in background

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Mar 20 15:11:02 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7759

          Priority: P5 - low
 Change sponsored?: ---
            Bug ID: 7759
          Assignee: gmcharlt at gmail.com
           Summary: Use Koha-Contrib-Tamil to update Zebra data in
                    background
        QA Contact: koha.sekjal at gmail.com
          Severity: enhancement
    Classification: Unclassified
                OS: All
          Reporter: tajoli at cilea.it
          Hardware: All
            Status: NEW
           Version: rel_3_8
         Component: Command-line Utilities
           Product: Koha

To solve the problem of indexing Koha in background, bug 5166,
we can insert Frédéric Demians instruction into documentation,
with a link to the wiki.

The instructions of Frédéric Demians:

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list