Errors during clearing index on wodby environment

Created on 26 February 2020, over 5 years ago
Updated 9 October 2025, 5 days ago

It looks like a bug related to wodby environment but let it be here.

Environment: https://github.com/wodby/docker4drupal

after running
drush sapi-sc search_server_name

I am getting an error:
Message: {"error":{"root_cause":[{"type":"mapper_parsing_exception","reason":"Expected map for property [fields] on field [label] but got a class java.lang.String"}],"type":"mapper_parsing_exception","reason":"Expected map for property [fields] on field [label] but got a class java.lang.String"},"status":400}

solution:
1. DELETE elasticsearch_index_drupal_default_index_name (in the elasticsearch console or in the Kibana)
2. go to Search API > your index > view > Rebuild tracking information

πŸ› Bug report
Status

Postponed: needs info

Version

7.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine lyalyuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024