[Koha] Elasticsearch: More questions

Tom Hanstra hanstra at nd.edu
Tue Apr 7 07:31:02 NZST 2020


Elasticsearch users: A few additional questions:

1) The Koha install/configuration looks for:

Search/Elasticsearch/Client/5_0/Direct.pm

But CPAN installed:

./local/share/perl5/Search/Elasticsearch/Client/6_0/Direct.pm

on my install. Consequently, when I try to index, I get the error message:

Can't locate Search/Elasticsearch/Client/5_0/Direct.pm

Should I update the module which is complaining
(Koha/SearchEngine/Elasticsearch.pm) or is there some other change that
should be made to address this?

2) Assuming my change from 5_0 -> 6_0 is ok, I'm still getting the error:

Software error:

Can't locate object method "index_name" via package
"Catmandu::Store::ElasticSearch" at
/usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Search.pm line
414.


Could it be that Koha cannot find the Catmandu::Store::ElasticSearch files?
Is there someplace where the PERL5LIB path is needed that might be missing?
The files are there, but it certainly does not seem to be able to use that
to look up the information it needs.

3) After performing the indexing, assuming it is actually valid, the index
still shows as "yellow":

curl http://localhost:9200/_cat/indices
yellow open koha_london_test_20_biblios     VRgVHrtDQ0S1oBGFJRVjjA 5 1
12287 0 138.9mb 138.9mb
yellow open koha_london_test_20_authorities AQOw74fbQYqnm63KuZQ0zQ 5 1
 6163 0     8mb     8mb

Should those be green after indexing is completed?  Is there something that
moved it on to green?

Thanks,
Tom


-- 
*Tom Hanstra*
*Sr. Systems Administrator*
hanstra at nd.edu


More information about the Koha mailing list