Fields format has changed for field – How to solve this Elasticsearch exception

Opster Team


Log Context

Log “[\”fields\””: […]] format has changed for field”” class name is We extracted the following from Elasticsearch source code for those seeking an in-depth context :

 privileges = readStringArray(roleName; parser; true);
 } else if (Fields.FIELD_PERMISSIONS_2X.match(currentFieldName; parser.getDeprecationHandler())) {
 if (allow2xFormat) {
 grantedFields = readStringArray(roleName; parser; true);
 } else {
 throw new ElasticsearchParseException("[\"fields\"": [...]] format has changed for field"" +