[Koha-bugs] [Bug 21357] Filter elisions from index and search terms in Elasticsearch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 5 15:12:35 CET 2021


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

Nicolas Legrand <nicolas.legrand at bulac.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #63 from Nicolas Legrand <nicolas.legrand at bulac.fr> ---
[10658] Checking state of biblios index
[10658] Dropping and recreating biblios index
[Request] ** [http://localhost:9200]-[400] [illegal_argument_exception] Custom
normalizer [facet_normalizer] failed to find char_filter under name [facet],
called from sub Search::Elasticsearch::Role::Client::Direct::__ANON__ at
/var/repositories/koha/Koha/SearchEngine/Elasticsearch/Indexer.pm line 389.
With vars: {'request' => {'mime_type' => 'application/json','qs' => {},'method'
=> 'PUT','body' => {'settings' => {'index.mapping.total_fields.limit' =>
'10000','index.number_of_shards' => '5','index.number_of_replicas' =>
'1','index' => {'analysis' => {'char_filter' => {'punctuation' => {'pattern' =>
'([\\x00-\\x1F,\\x21-\\x26,\\x28-\\x2F,\\x3A-\\x40,\\x5B-\\x60,\\x7B-\\x89,\\x8B,\\x8D,\\x8F,\\x90-\\x99,\\x9B,\\x9D,\\xA0-\\xBF,\\xD7,\\xF7])','type'
=> 'pattern_replace','replacement' => ''}},'analyzer' => {'analyzer_stdno' =>
{'char_filter' => ['punctuation'],'tokenizer' => 'whitespace','filter' =>
['icu_folding']},'analyzer_phrase' => {'tokenizer' => 'keyword','char_filter'
=> ['punctuation'],'filter' =>
['elision','icu_folding','apostrophe']},'analyzer_standard' => {'filter' =>
['elision','icu_folding'],'tokenizer' => 'icu_tokenizer'}},'filter' =>
{'apostrophe' => {'replacement' => '','pattern' => '\'','type' =>
'pattern_replace'},'facet' => {'pattern' =>
'\\s*(?<!\\p{Lu})[.\\-,;]*\\s*$','type' => 'pattern_replace','replacement' =>
''},'elision' => {'articles_case' => 'true','type' => 'elision','articles' =>
['c','d','j','l','m','n','qu','s','t']}},'normalizer' => {'facet_normalizer' =>
{'char_filter' => 'facet'},'nfkc_cf_normalizer' => {'char_filter' =>
'icu_normalizer','type' => 'custom'},'icu_folding_normalizer' => {'type' =>
'custom','filter' => ['elision','icu_folding']}}}}}},'ignore' => [],'path' =>
'/koha_robin_biblios','serialize' => 'std'},'status_code' => 400,'body' =>
{'error' => {'root_cause' => [{'reason' => 'Custom normalizer
[facet_normalizer] failed to find char_filter under name [facet]','type' =>
'illegal_argument_exception'}],'reason' => 'Custom normalizer
[facet_normalizer] failed to find char_filter under name [facet]','type' =>
'illegal_argument_exception'},'status' => 400}}

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list