https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21820

Janusz Kaczmarek <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #21 from Janusz Kaczmarek <[email protected]> ---
(In reply to Thomas Klausner from comment #20)
> At the hackfest we discussed that some libraries need the Zebra-Queue, even
> though they are using Elasticsearch. So completely removing the zebra
> indexing (as done in Peters patch from 2025-11-14) is not an option.
> 
> So we need to solve this via a Syspref.
> 
> But adding a third option to `SearchEngine` is probably a lot of work (as
> there are a lot of checks like "if (SearchEngine == Zebra) {} else {}". So
> all of those would need to be touched. And we don't know if any external /
> local tools also do checks like this.
> 
> So we think it's best to add a new SysPref like
> `ElasticsearchWithZebraQueue`. If it is set, keep the old behavior and add
> each doc to zebra after doing the ES index. If it is not set, don't do that.
> 
> For Updates/migration, this value needs to be set to true (so we don't break
> the old behavior), but for new installations it should the false (so only
> libraries that really need that feature have to turn it on).
> 
> Does this make sense to you?
> 
> If yes, I will prepare a patch etc.

And how about not starting zebra and zebra-indexer in case of Elasticsearch
only? Now both are started by default (the indexer can be disabled in
/etc/default/koha-common, but I'm not sure if we can rely on this).

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to