在solr中 添加新的索引词语时,报如标题所示错误,指定是插入的字段没有在solr索引字段里
可以修改 solr安装目录/solr/conf 目录下的 schema.xml
在此xml文件内加入所需字段即可,格式如下
<field name="alias" type="text_general" indexed="true" stored="true" />
注: name, type, indexed, stored 可根据实际情况进行填写!
在solr中 添加新的索引词语时,报如标题所示错误,指定是插入的字段没有在solr索引字段里
可以修改 solr安装目录/solr/conf 目录下的 schema.xml
在此xml文件内加入所需字段即可,格式如下
<field name="alias" type="text_general" indexed="true" stored="true" />
注: name, type, indexed, stored 可根据实际情况进行填写!
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。