Re: [Koha] Elasticsearch setup

2020-03-20 Thread Nick Clemens
The version will come with a good mappings.yaml file - the issue is that the DB might not be set to those values - just click the reset button to make sure they are set. The fielddata error you noted before implies they were not. On Fri, Mar 20, 2020 at 2:29 PM Tom Hanstra wrote: > I've

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Tom Hanstra
I've installed 19.11.03. Would the mappings be old already with that version? Where are they and where might I get a better copy, if that is the problem. Tom On Fri, Mar 20, 2020 at 1:23 PM Nick Clemens wrote: > I believe 6 will give deprecation warnings for 7, so version might be okay > > I

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Nick Clemens
I believe 6 will give deprecation warnings for 7, so version might be okay I would refresh the mappings from the default files for koha before testing - if your koha version is older, then you prbably have an early version of the mappings/settings. There have been some changes that are required

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Jonathan Druart
Victor, it's an automatic option. If you install via the debian packages you only need to change a syspref SearchEngine Le ven. 20 mars 2020 à 17:44, Victor Barroso Oliveira a écrit : > > > Why is Elasticsearch not yet an automatic option in Koha? > > Em sex., 20 de mar. de 2020 às 10:28,

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Jonathan Druart
I think we are supposed to support 6, but our dev env brings version 5.5.1 Le ven. 20 mars 2020 à 17:22, Tom Hanstra a écrit : > Hmm. I did wonder about that. I am running Elasticsearch 6 but maybe it is > getting ready for 7? Or does it think I'm still running 7. > > What version of

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Victor Barroso Oliveira
Why is Elasticsearch not yet an automatic option in Koha? Em sex., 20 de mar. de 2020 às 10:28, Jonathan Druart < jonathan.dru...@bugs.koha-community.org> escreveu: > Tom, > > The error is bad, I guess it comes from get_all_biblios_iterator. > What are you developer skill? I'd try to know if it

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Tom Hanstra
Hmm. I did wonder about that. I am running Elasticsearch 6 but maybe it is getting ready for 7? Or does it think I'm still running 7. What version of Elasticsearch is known to work? Tom On Fri, Mar 20, 2020 at 9:27 AM Jonathan Druart < jonathan.dru...@bugs.koha-community.org> wrote: > Tom, >

Re: [Koha] Elasticsearch setup

2020-03-20 Thread Jonathan Druart
Tom, The error is bad, I guess it comes from get_all_biblios_iterator. What are you developer skill? I'd try to know if it comes from wrong/bad data from a record, or something else. It seems that you are back to version 7 ("To be compatible with 7.0..." in the logs)? You can certainly ignore

Re: [Koha] Elasticsearch setup

2020-03-18 Thread Tom Hanstra
Yes, I can try downgrading. Here is another error I saw which might be a clue: No record passed at /usr/share/koha/lib/Koha/MetadataIterator.pm line 71. Something went wrong reading record for biblio Koha::Schema::Result::Biblio=HASH(0x112a7b28)->biblionumber: Can't bless non-reference value at

Re: [Koha] Elasticsearch setup

2020-03-18 Thread Jonathan Druart
I am not sure version 7 has been tested already. Could you try with ES6? Le mer. 18 mars 2020 à 14:30, Tom Hanstra a écrit : > curl http://localhost:9200 > { > "name" : "london-test-20", > "cluster_name" : "elasticsearch", > "cluster_uuid" : "9tssH9MpQn2yTcUxf5xbzg", > "version" : { >

Re: [Koha] Elasticsearch setup

2020-03-18 Thread Tom Hanstra
curl http://localhost:9200 { "name" : "london-test-20", "cluster_name" : "elasticsearch", "cluster_uuid" : "9tssH9MpQn2yTcUxf5xbzg", "version" : { "number" : "7.6.1", "build_flavor" : "default", "build_type" : "rpm", "build_hash" :

Re: [Koha] Elasticsearch setup

2020-03-18 Thread Jonathan Druart
Which version of elasticsearch did you install? Le mar. 17 mars 2020 à 21:33, Tom Hanstra a écrit : > > Well, that obviously is an important switch. Ant that takes me one step > closer. Thank you. > > Now, of course, I'm getting no results. Koha says that I did not specify > any search criteria

Re: [Koha] Elasticsearch setup

2020-03-17 Thread Tom Hanstra
Well, that obviously is an important switch. Ant that takes me one step closer. Thank you. Now, of course, I'm getting no results. Koha says that I did not specify any search criteria and the logs show the following: [Tue Mar 17 20:28:53.076236 2020] [cgi:error] [pid 3868] [client

Re: [Koha] Elasticsearch setup

2020-03-17 Thread Katrin Fischer
Hi Tom, if everything is set up correctly you can switch back and forth using the searchengine system preference. Hope this helps, Katrin On 17.03.20 17:08, Tom Hanstra wrote: I have managed to get elasticsearch running (thanks Thomas!) and it seems to have indexed many of my records (though

Re: [Koha] Elasticsearch setup

2020-03-17 Thread Tom Hanstra
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

Re: [Koha] Elasticsearch setup

2020-03-16 Thread mlist
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

[Koha] Elasticsearch setup

2020-03-16 Thread Tom Hanstra
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