ElasticSearch and Multiple Reindexing Failures
All, I am preparing my library's catalog for a move to a new server this summer. I have been correcting cataloging errors en masse, and uploading them into the catalog through Tools -> Stage MARC Records for Import. The records upload and I can call them up through clicking on the record number link and I can find through a catalog search. I can also download the records through Tools -> Export Data. However, I can find NOTHING through Authorities -> Search Authorities. It doesn't matter how I search: Default, Personal Name, etc. NOTHING turns up. I have reindexed the entire database through
koha-elasticsearch -d -v library
but again NOTHING turns up when I search in Koha. Throughout the reindexing process, I see errors like Unable to resolve host ... There were errors during indexing. Use of uninitialized value $sub6 in patter match ... Nonetheless, it seems to proceed to index. Yesterday, the entire database vanished. (This morning, I opened under the previous day's clone.) What is going on with this database? Is there a way to fix this? I cannot understand what I do wrong because it happens almost every day. I would appreciate an answer. Running Koha ILS v. 20.05 on Debian 9 "Stretch". Thanks. -- よろしくお願いします。 -- Charles. Charles Kelley, MLS PSC 704 Box 1029 APO AP 96338 Charles Kelley Tsukimino 1-Chome 5-2 Tsukimino Gaadenia #210 Yamato-shi, Kanagawa-ken 〒242-0002 JAPAN +1-301-741-7122 [US cell] +81-80-4356-2178 [JPN cell] mnogojazyk@aol.com [h] cmkelleymls@gmail.com [p] linkedin.com/in/cmkelleymls <http://www.linkedin.com/in/cmkelleymls> Meeting Your Information Needs. Virtually.
Hi Charles The correct query to rebuild the index is: sudo koha-elasticsearch --rebuild -d -v library Looks like you were close, just missing the --rebuild flag! -d drops the current indexes which is why nothing is showing for you now. Hope that helps! -- Aleisha Amohia (she/her) Koha Developer Catalyst IT - Expert Open Source Solutions www.catalyst.net.nz CONFIDENTIALITY NOTICE: This email is intended for the named recipients only. It may contain privileged, confidential or copyright information. If you are not the named recipient, any use, reliance upon, disclosure or copying of this email or its attachments is unauthorised. If you have received this email in error, please reply via email or call +64 4 499 2267.
participants (2)
-
Aleisha Amohia -
Charles Kelley