[Koha-bugs] [Bug 31897] New hook when indexing with Elasticsearch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Nov 4 11:03:42 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31897
--- Comment #12 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Stefan Berndtsson from comment #11)
> I'm really not sure what I'm supposed to do here. This is based on what the
> test t/db_dependent/Koha/SearchEngine/Elasticsearch/Indexer.t does, with the
> Plugin parts added to it.
>
> That test does the same result-check of get_elasticsearch_params, and if
> there is no elasticsearch running (localhost:9200 or equivalent) it also
> fails with the NoNodes error.
>
> I can't see how I can come up with a solution to a test depending on a
> running Elasticsearch without having a running Elasticsearch.
>
> The current test does not like it when there is an Elastic running but Zebra
> is set as the engine, so it'll have to be tweaked (the existing Indexer.t
> works here). I did some more copy&paste from that one so I can make this
> test work as well regardless of that syspref, but not without actually
> having Elastic running.
I would fail Indexer.t now too for the same reason indeed. But it is pushed
already ;)
I am not an Elastic expert. Please ask on IRC or dev list.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list