This error indicates that there was a problem parsing the "sourceJSON" field of type "text" in a document with the ID '4722d787442044ac92cbdeab2d28e6fc' in Elasticsearch.

The field's value seems to be a JSON object: '{272d6d8eae79cf7d389827e5d62cdd2a={sourceId=1, title=新军事革命对防护工程的挑战}, c35ee631ebdff826d75ec23e98d5cd72={sourceId=1}, 6bc64cba8c4b1c9e2557ce4a3c86fef0={sourceId=634}}'.

The nested exception provides more information about the error. It seems that the field 'sourceJSON' is of type 'text', but the provided value is a JSON object. This results in a mapper parsing exception.

To resolve this issue, you might need to change the mapping of the 'sourceJSON' field to a different type that can handle JSON objects, such as 'nested' or 'object'.

RestStatusExceptionstatus=400 orgspringframeworkdataelasticsearchRestStatusException Elasticsearch exception type=mapper_parsing_exception reason=failed to parse field sourceJSON of type text in docum

原文地址: https://www.cveoy.top/t/topic/i9hm 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录