Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hi all, our search provider now only offers elasticsearch 7.10(.2) and we have an issue with the st

Options
UMT6U55RD
UMT6U55RD Posts: 8 🧑🏻‍🚀 - Cadet
edited August 2021 in Help

Hi all, our search provider now only offers elasticsearch 7.10(.2) and we have an issue with the string_sort mapping.

"Error in one or more bulk request actions:\n\nindex: \/index_de_page\/_doc\/product_abstract🇩🇪de_de:1 caused unknown parameter [analyzer] on mapper [name] of type [keyword]"

Changing the mapper to use a normalizer instead of an analyzer it seems to work just fine.

{
  "string_sort": {
    "mapping": {
      "normalizer": "lowercase_normalizer",
      "type": "keyword"
    },
    "path_match": "string-sort.*"
  }
},

Are you aware of the issue and do you see any problem in changing the mapper to an normalizer? Thanks for your help!

Comments

  • ULFJ6NJJ0
    ULFJ6NJJ0 Posts: 2 🧑🏻‍🚀 - Cadet
    Options

    we submitted a support request for this now.