[Koha] Elasticsearch in Koha 18.11

Ere Maijala ere.maijala at helsinki.fi
Wed Jan 9 21:14:00 NZDT 2019


Hi Chee,

You'll need to install the ICU plugin. Typically the command to use is this:


sudo /usr/share/elasticsearch/bin/elasticsearch-plugin install analysis-icu


See https://wiki.koha-community.org/wiki/Elasticsearch for more information.

Regards,
Ere

cfhong kirjoitti 9.1.2019 klo 1.00:
> Hello,
> 
> Have anyone using Elasticsearch feature in Koha 18.11? I was following steps
> in
> 
> https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_packages#koha-elasticsearch
> 
> and 
> 
> https://wiki.koha-community.org/wiki/Elasticsearch/Implementation
> 
> I got this error on the log when I run
> misc/search_tools/rebuild_elastic_search.pl.
> 
> Indexing biblios
> [Request] ** [http://127.0.0.1:9200]-[400] [illegal_argument_exception]
> Custom Analyzer [analyser_standard] failed to find tokenizer under name
> [icu_tokenizer], called from sub
> Search::Elasticsearch::Role::Client::Direct::__ANON__ at
> /usr/share/koha/lib/Koha/SearchEngine/Elasticsearch/Indexer.pm line 362.
> With vars: {'body' => {'error' => {'reason' => 'Custom Analyzer
> [analyser_standard] failed to find tokenizer under name
> [icu_tokenizer]','type' => 'illegal_argument_exception','root_cause' =>
> [{'reason' => 'Custom Analyzer [analyser_standard] failed to find tokenizer
> under name [icu_tokenizer]','type' =>
> 'illegal_argument_exception'}]},'status' => 400},'status_code' =>
> 400,'request' => {'mime_type' => 'application/json','serialize' =>
> 'std','body' => {'settings' => {'index' => {'analysis' => {'analyzer' =>
> {'analyser_stdno' => {'tokenizer' => 'whitespace','char_filter' =>
> ['punctuation'],'filter' => ['icu_folding']},'analyser_standard' =>
> {'tokenizer' => 'icu_tokenizer','filter' =>
> ['icu_folding']},'analyser_phrase' => {'filter' =>
> ['icu_folding'],'char_filter' => ['punctuation'],'tokenizer' =>
> 'keyword'}},'normalizer' => {'normalizer_keyword' => {'filter' =>
> ['icu_folding'],'type' => 'custom'},'my_normalizer' => {'type' =>
> 'custom','char_filter' => 'icu_normalizer'}},'char_filter' => {'punctuation'
> => {'pattern' =>
> '([\\x00-\\x1F,\\x21-\\x2F,\\x3A-\\x40,\\x5B-\\x60,\\x7B-\\x89,\\x8B,\\x8D,\\x8F,\\x90-\\x99,\\x9B,\\x9D,\\xA0-\\xBF,\\xD7,\\xF7])','type'
> => 'pattern_replace','replacement' => ''}}}}}},'qs' => {},'ignore' =>
> [],'path' => '/koha_xxx_biblios','method' => 'PUT'}}
> 
> Please advise.
> 
> Best Regards,
> Chee
> 
> 
> 
> --
> Sent from: http://koha.1045719.n5.nabble.com/Koha-general-f3047918.html
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> https://lists.katipo.co.nz/mailman/listinfo/koha
> 

-- 
Ere Maijala
Kansalliskirjasto / The National Library of Finland



More information about the Koha mailing list