PGsync - Elastic Error related to adding fields
Evaluation of impact, and if a fix is usefull necasary (depends strongly if Elastic is kicked or not)
Aproaches to fix the Errors: text
Error Example:
ERROR:pgsync.search_client: Exception ('1 document(s) failed to index.', [{'index': {'_index': 'repco-live-26-2', '_id': 'eaynwxkdd5f5arr6jdatab4dkfs', 'status': 400, 'error': {'type': 'document_parsing_exception', 'reason': '[1:160] failed to parse: Limit of total fields [1000] has been exceeded while adding new fields [3]', 'caused_by': {'type': 'illegal_argument_exception', 'reason': 'Limit of total fields [1000] has been exceeded while adding new fields [3]'}}, 'data': {'title': {'ko': {'value': 'fuckcovid'}}, 'Concept': [{'name': {'de': {'value': 'Ökologie / Umwelt / Natur'}}}, {'name': {'de': {'value': 'fuckcovid'}}}], 'content': {'ko': {'value': ''}}, 'pubDate': '2021-01-29T21:43:25', 'summary': {'ko': {'value': ''}}, 'subtitle': {}, 'MediaAsset': [{'title': {'de': {'value': '1cafee67e8ce466fb485cafd0e29358a'}}, 'mediaType': 'image', 'Transcript': None, 'description': {'de': {'value': '<p class="attachment"><a href=\'https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a.jpg\' rel="lightbox[487781]"><img loading="lazy" decoding="async" width="58" height="60" src="https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a-58x60.jpg" class="attachment-medium size-medium" alt="" srcset="https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a-58x60.jpg 58w, https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a-450x463.jpg 450w, https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a-146x150.jpg 146w, https://cba.media/wp-content/uploads/1/8/0000487781/1cafee67e8ce466fb485cafd0e29358a.jpg 500w" sizes="(max-width: 58px) 100vw, 58px" /></a></p>\n'}}}, {'title': {'ko': {'value': 'Polish_20201207_123316167'}}, 'mediaType': 'audio', 'Transcript': None, 'description': {'ko': {'value': '<p class="attachment"><a href=\'https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167.jpg\' rel="lightbox[486222]"><img loading="lazy" decoding="async" width="57" height="60" src="https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167-57x60.jpg" class="attachment-medium size-medium" alt="" srcset="https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167-57x60.jpg 57w, https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167-450x470.jpg 450w, https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167-768x802.jpg 768w, https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167-144x150.jpg 144w, https://cba.media/wp-content/uploads/2/2/0000486222/polish-20201207-123316167.jpg 858w" sizes="(max-width: 57px) 100vw, 57px" /></a></p>\n'}}}], 'ContentGrouping': [{'title': {'de': {'value': 'Dark Metal Asylum'}}, 'summary': {'de': {'value': '<p>…ist eine Musiksendung mit Neuvorstellungen, Live Interviews mit Bands, Konzertvorschauen und Konzertberichten. Jeden zweiten Donnerstag, 21 Uhr auf Radio Helsinki.</p>\n<p> </p>\n<p> </p>\n'}}, 'subtitle': None}], '_meta': {'MediaAsset': {'uid': ['eaynwxkdd5f4qrai63defeth5gq', 'eaynwxkiyhl2arcqwawp3ena24c']}, '_ContentItemToMediaAsset': {}, 'ContentGrouping': {'uid': ['eaynww2ff3zxqrx4xuc6nytleyk']}, 'Concept': {'uid': ['eaynwqrjqfcwqrgfssd747evvqq', 'eaynwxkiygllarzyiodm2c2peu2']}, '_ConceptToContentItem': {}}}}}])