[Koha] Elasticsearch setup

Tom Hanstra hanstra at nd.edu
Wed Mar 18 05:08:47 NZDT 2020


I have managed to get elasticsearch running (thanks Thomas!) and it seems
to have indexed many of my records (though there were quite a few errors
and messages received during the indexing process).

Now, how do I best check to see what is in the Elasticsearch index? Is
there a way to test or at least count the number of records indexed?

And then how do I switch Koha from using Zebra to using Elasticsearch?  Do
I have to "turn off" Zebra in some way and turn on Elasticsearch?  Or is
that supposed to be switched automatically?

Thanks in advance for any tips that might help!

Tom

On Mon, Mar 16, 2020 at 2:20 PM <mlist at opendoor.fr> wrote:

> Hello,
>
> We use debian, but are installing from sources. Here are my notes about
> ElasticSearch:
>
> Get a recent version of Java
>
> Install ES from upstream repositoruies
>
> Configure Koha <-> ES via  $KOHA_CONF
>
> Install lucene plugin:
>
> /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu
>
> Install following packages:
>
>     libcatmandu-marc-perl
>     libcatmandu-store-elasticsearch-perl
>
> systemctl enable elasticsearch
>
> restart server (or restart all koha related services)
>
> rebuild index:
>
>  /home/koha/Current/bin/search_tools/rebuild_elasticsearch.pl -v
>
>  /home/koha/Current/bin/search_tools/rebuild_elasticsearch.pl –delete -v
> -a -b -p 4
>
>
> Best regards
>
>
> On 2020-03-16 7:09 p.m., Tom Hanstra wrote:
> > In the documentation I'm reading about the use of elasticsearch, all
> > information is completely Debian specific, including both the use of
> > kohadevbox and debian software installations of the koha-elasticsearch
> > metapackage.
> >
> > For those of us who don't use Debian (yes, there are some of us), is
> there
> > any documentation of more complete ElasticSearch setup commands and
> > information of what is inside of the koha-elasticsearch metapackage and
> > other supporting software? I'd rather not have to reverse engineer those
> > pieces from Debian, but the documentation seems to assume installation
> has
> > one or the other of the above Debian based packages.
> >
> > I'm assuming that Koha can work with Elasticsearch on any Linux
> > distribution, with the right setup. If so, can someone help fill in the
> > gaps between Debian and the other Linuxes.
> >
> > Thanks,
> > Tom
> >
>
> --
> Thomas Constans
> Services en informatique libre
> T: 33(0)6 23 37 87 85
> @: https://opendoor.fr
> #: https://twitter.com/ThomasConstans
> gpg: 0xBA19745F80410541
>
> _______________________________________________
>
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
>


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


More information about the Koha mailing list