我有这个架构:
<fields>
<field name="id" type="sint" indexed="true" stored="true"/>
<field name="title" type="text" indexed="true" stored="true"/>
<field name="description" type="text" indexed="true" stored="true"/>
</field>
Run Code Online (Sandbox Code Playgroud)
当我尝试推送id = 6661883440的新文档时,我收到此错误:
严重:org.apache.solr.common.SolrException:错误:[doc = 6661883440]错误添加字段'id'='6661883440'
引起:org.apache.solr.common.SolrException:从值'6661883440'创建字段'id {type = sint,properties = indexed,stored,omitNorms,sortMissingLast,required = true}'时出错
引起:java.lang.NumberFormatException:对于输入字符串:"6661883440"
sint类型字段有一些限制吗?有什么建议吗?
谢谢