UTF8 encoding is longer than the max length 32766

前端 未结 10 988
鱼传尺愫
鱼传尺愫 2020-11-29 01:39

I\'ve upgraded my Elasticsearch cluster from 1.1 to 1.2 and I have errors when indexing a somewhat big string.

{
  \"error\": \"IllegalArgumentException[Docu         


        
10条回答
  •  甜味超标
    2020-11-29 02:35

    I got around this problem by changing my analyzer .

    {
        "index" : {
            "analysis" : {
                "analyzer" : {
                    "standard" : {
                        "tokenizer": "standard",
                        "filter": ["standard", "lowercase", "stop"]
                    }
                }
            }
        }
    }
    

提交回复
热议问题