Migrate elastic search mappings to Elastic Search 5.x

Description

As for Opencast 7.0, we are about to upgrade ElasticSearch from 1.x up to at least 5.x. While the 1.x mapping configuration still seems to work, some types have been deprecated.

This work addresses the following issues:

  • The type "string" has been split up into the types "keyword" and "text" and should not be used in ElasticSearch 5.x or higher anymore

  • The mapping parameter "index" expects the values true or false (default: true)

  • The mapping parameter "store" expects the values true or false (default: false)

  • Remove unused dynamic templates

  • Use type "text" for the fields "objects" to be able to store large values here

Fixed and reviewed

Assignee

Unassigned

Reporter

Sven Stauber

Tags (folksonomy)

None

Components

Fix versions

Affects versions

Priority

Minor
Configure