Greetings,

There's another one that talks to zebra to find out what isn't there and
tells you about them, but I can't find it with a quick search.

If anyone remembers what that is, I would really appreciate.

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

Assuming you have placed the script in /usr/share/koha/bin/migration_tools/checkNonIndexedBiblios.pl and that the user you (or the packages) created for indexing is called library-koha:

$ sudo -i
# su - library-koha
$ echo $KOHA_CONF
[this should be set to the proper value]
$ echo $PERL5LIB
[this should be set to the proper value]
$ /usr/share/koha/bin/migration_tools/checkNonIndexedBiblios.pl -c -z

In our migration from tarball to packages, we had indexing problems. A full reindex said there was a malformed tag, but I couldn't find it.
I started this at night and went to bed:
$ while true; do /usr/share/koha/bin/migration_tools/checkNonIndexedBiblios.pl -c -z; sleep 360; done In the morning everything was properly indexed (0 records added), so I just had to kill the process with a CTRL-C.

It works knowing that the zebra indexing is triggered automatically every 5 minutes in packages. So, by sleeping 6 minutes, that let's at least some indexing happen before retrying. This, of course, will bloat the zebra queue table, but the packages have a script to automatically clean that up already installed. I tried the sliced reindexing and it just messed up our indexes again. So, this is the method I'm sticking with. Your mileage may vary.

GPML,
Mark Tompsett
_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to