我已经将我的Elasticsearch集群从1.1升级到1.2,并且在索引一个有点大字符串时出错.
{
"error": "IllegalArgumentException[Document contains at least one immense term in field=\"response_body\" (whose UTF8 encoding is longer than the max length 32766), all of which were skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense term is: '[7b 22 58 48 49 5f 48 6f 74 65 6c 41 76 61 69 6c 52 53 22 3a 7b 22 6d 73 67 56 65 72 73 69]...']",
"status": 500
}
Run Code Online (Sandbox Code Playgroud)
索引的映射:
{
"template": …Run Code Online (Sandbox Code Playgroud)