[Koha-bugs] [Bug 25668] New: ElasticSearch 6 deprecation: the default number of shards will change in version 7

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 3 20:59:26 CEST 2020


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

            Bug ID: 25668
           Summary: ElasticSearch 6 deprecation: the default number of
                    shards will change in version 7
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Searching - Elasticsearch
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: victor at tuxayo.net

This happens in koha-testing-docker with ES 6.8.8
When indexing:
./misc/search_tools/rebuild_elasticsearch.pl -v -d

Here are both deprecation messages that are outputted and related:

[DEPRECATION] the default number of shards will change from [5] to [1] in
7.0.0; if you wish to continue using the default of [5] shards, you must manage
this on the create index request or with an index template - In request: {body
=> {settings => {index => {analysis => {analyzer => {analyzer_phrase =>
{char_filter => ["punctuation"],filter => ["icu_folding"],tokenizer =>
"keyword"},analyzer_standard => {filter => ["icu_folding"],tokenizer =>
"icu_tokenizer"},analyzer_stdno => {char_filter => ["punctuation"],filter =>
["icu_folding"],tokenizer => "whitespace"}},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])",replacement
=> "",type => "pattern_replace"}},normalizer => {icu_folding_normalizer =>
{filter => ["icu_folding"],type => "custom"},nfkc_cf_normalizer => {char_filter
=> "icu_normalizer",type => "custom"}}}},"index.mapping.total_fields.limit" =>
10000}},ignore => [],method => "PUT",mime_type => "application/json",path =>
"/koha_kohadev_biblios",qs => {},serialize => "std"}


[DEPRECATION] the default number of shards will change from [5] to [1] in
7.0.0; if you wish to continue using the default of [5] shards, you must manage
this on the create index request or with an index template - In request: {body
=> {settings => {index => {analysis => {analyzer => {analyzer_phrase =>
{char_filter => ["punctuation"],filter => ["icu_folding"],tokenizer =>
"keyword"},analyzer_standard => {filter => ["icu_folding"],tokenizer =>
"icu_tokenizer"},analyzer_stdno => {char_filter => ["punctuation"],filter =>
["icu_folding"],tokenizer => "whitespace"}},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])",replacement
=> "",type => "pattern_replace"}},normalizer => {icu_folding_normalizer =>
{filter => ["icu_folding"],type => "custom"},nfkc_cf_normalizer => {char_filter
=> "icu_normalizer",type => "custom"}}}},"index.mapping.total_fields.limit" =>
10000}},ignore => [],method => "PUT",mime_type => "application/json",path =>
"/koha_kohadev_authorities",qs => {},serialize => "std"}

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


More information about the Koha-bugs mailing list