Indexing issues continue
Greetings, I recently discovered part of our indexing problems were a result of /tmp being too small. So, I put TMPDIR=/var/tmp into /etc/environment and rebooted. That got the koha-rebuild-zebra now using /var/tmp instead of /tmp, and hence no drive space issues. However, I’m getting a warning, which I think is affecting indexing, because I can’t find anything in OPAC. I tried the following: $ sudo koha-rebuild-zebra -v -f library Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/library/biblios Zebra authorities directory = /var/lib/koha/library/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ skipping authorities ==================== exporting biblio ==================== 1.......................................................................... [SNIP NOTHING NOTEABLE] Records exported: 45853 ==================== REINDEXING zebra ==================== 02:17:37-15/10 zebraidx(12752) [warn] Couldn't open collection.abs [No such file or directory] ==================== CLEANING ==================== Zebra configuration information ================================ Zebra biblio directory = /var/lib/koha/library/biblios Zebra authorities directory = /var/lib/koha/library/authorities Koha directory = /usr/share/koha/intranet/cgi-bin BIBLIONUMBER in : 999$c BIBLIOITEMNUMBER in : 999$d ================================ ==================== exporting authority ==================== 1.......................................................................... [SNIP NOTHING NOTEABLE] Records exported: 2703 ==================== REINDEXING zebra ==================== skipping biblios ==================== CLEANING ==================== I can’t figure out what is trying to open collection.abs. $ for i in `sudo find /etc`; do sudo grep collection.abs $i; done NOTHING! Any ideas or suggestions? GPML, Mark Tompsett
Hi, On Mon, Oct 14, 2013 at 11:34 AM, Mark Tompsett <mtompset@hotmail.com>wrote:
I can’t figure out what is trying to open collection.abs.
$ for i in `sudo find /etc`; do sudo grep collection.abs $i; done NOTHING!
Any ideas or suggestions?
This suggests that the MARC21slim collection XML element (which can wrap a collection of record elements) is either present in your bib data or is somehow getting included when the records are exported to disk for zebraidx to pick up. Does the following SQL query return any records in your database? SELECT marcxml FROM biblioitems WHERE marcxml LIKE '%<collection%' OR marcxml LIKE '%<marc:collection%'; Regards, Galen -- Galen Charlton Manager of Implementation Equinox Software, Inc. / The Open Source Experts email: gmc@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web: http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org
Greetings, Thank you for your reply, Galen:
Does the following SQL query return any records in your database?
SELECT marcxml FROM biblioitems WHERE marcxml LIKE '%<collection%' OR marcxml LIKE '%<marc:collection%';
mysql> SELECT marcxml FROM biblioitems -> WHERE marcxml LIKE '%<collection%' -> OR marcxml LIKE '%<marc:collection%'; Empty set (2.99 sec) Any other ideas? GPML, Mark Tompsett
participants (2)
-
Galen Charlton -
Mark Tompsett