[Koha-devel] Using Elasticsearch in koha-testing-docker
David Cook
dcook at prosentient.com.au
Wed Nov 8 01:09:01 CET 2023
Thanks, Jonathan.
I’ve done some playing around and I think I’m learning a lot about Koha’s integration.
I’m a bit surprised that there isn’t an “any”, “all”, or “anywhere” index. I notice “ElasticsearchMARCFormat” can make the full MARC record searchable by storing the MARC record as a JSON object, but it seems like that’s not recommended. I don’t know why we wouldn’t just index the full record like we do with Zebra. It would make for a bigger data store, but it could be done fairly simply.
Who all is actively contributing to the Elasticsearch work? Might be useful to get in on the conversation…
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
From: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Sent: Tuesday, 7 November 2023 8:09 PM
To: David Cook <dcook at prosentient.com.au>
Cc: koha-devel <koha-devel at lists.koha-community.org>
Subject: Re: [Koha-devel] Using Elasticsearch in koha-testing-docker
About ktd you need to include one of the ES/OS compose files (docker-compose.es <http://docker-compose.es> * docker-compose.os*), there are bin/ktd switches.
You also need KOHA_ELASTICSEARCH set to "yes" in the .env file.
Le mar. 7 nov. 2023 à 03:55, David Cook via Koha-devel <koha-devel at lists.koha-community.org <mailto:koha-devel at lists.koha-community.org> > a écrit :
Hi all,
I’m trying to use Elasticsearch in koha-testing-docker, and I would appreciate some assistance.
Here’s the steps I’m taking:
1. Launch koha-testing-docker
2. Update Koha’s sysprefs
a. Change SearchEngine from “Zebra” to “Elasticsearch” at http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search <http://localhost:8081/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=SearchEngine> &searchfield=SearchEngine
3. (Re)build Elasticsearch indexes:
a. koha-elasticsearch --rebuild kohadev
4. Start Elasticsearch indexer:
a. koha-es-indexer --start kohadev
Is there anything else to do? In a prod install, do I just need to update the “elasticsearch” config in koha-conf.xml?
Do I leave all the Zebra things running or can I turn those off? I recall reading somewhere that zebra_queue might fill up if I turn it off?
Thanks all!
David Cook
Senior Software Engineer
Prosentient Systems
Suite 7.03
6a Glen St
Milsons Point NSW 2061
Australia
Office: 02 9212 0899
Online: 02 8005 0595
_______________________________________________
Koha-devel mailing list
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org>
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20231108/e926daa0/attachment.htm>
More information about the Koha-devel
mailing list