java添加数据到solr报错

whose UTF8 encoding is longer than the max length 32766

原因是长度太长,string类型改成text_general就可以了。

 

schema文件改对应字段的类型

【记录】【solr】whose UTF8 encoding is longer than the max length 32766_string类

 

 【记录】【solr】whose UTF8 encoding is longer than the max length 32766_string类_02