fix scoring plan mapping creation
@@ -516,7 +516,6 @@ public class SegmentServiceImpl extends AbstractServiceImpl implements SegmentSe
persistenceService.createMapping(Profile.ITEM_TYPE, String.format(
"{\n" +
- " \"profile\": {\n" +
" \"properties\": {\n" +
" \"scores\": {\n" +
" \"properties\": {\n" +
@@ -526,8 +525,7 @@ public class SegmentServiceImpl extends AbstractServiceImpl implements SegmentSe
" }\n" +
" }\n" +
" }\n" +
- " }\n" +
- "}\n", scoring.getItemId()));
+ "}", scoring.getItemId()));
updateExistingProfilesForScoring(scoring);
}
