org.apache.solr.common.SolrException undefined field text
来源:互联网 发布:数字网络用语有哪些 编辑:程序博客网 时间:2024/05/18 00:49
在collection1文件夹的solrconfig.xml文件中
<str name="df">text</str>
df为solr中默认的搜索field , 那么此处定义了默认field为text,可是我的schema.xml中未定义text,那么肯定会报以上错误。
解决方法:
1.在schema.xml中定义一个字段
<field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
2.在solrconfig.xml中的所有df中更改为schema.xml中存在的字段,如 id
<str name="df">text</str>
df为solr中默认的搜索field , 那么此处定义了默认field为text,可是我的schema.xml中未定义text,那么肯定会报以上错误。
解决方法:
1.在schema.xml中定义一个字段
<field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>
2.在solrconfig.xml中的所有df中更改为schema.xml中存在的字段,如 id
阅读全文
0 0
- Solr org.apache.solr.common.SolrException: undefined field text
- SEVERE: org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text 的解决办法
- solrExecption : org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException: undefined field text
- org.apache.solr.common.SolrException undefined field text
- solr启动时报错org.apache.solr.common.SolrException: undefined field text的解决办法
- org.apache.solr.common.SolrException
- org.apache.solr.common.SolrException: No such core: core0
- org.apache.solr.common.SolrException: Request-URI Too Large
- 求解决 org.apache.solr.common.SolrException: Internal Server Error
- org.apache.solr.common.SolrException: Error opening new searcher
- schema.doc.xml报错pic: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Coul
- solr - org.apache.solr.common.SolrException: Could not load config for solrconfig.xml
- solr服务器报错:org.apache.solr.common.SolrException: Could not find necessary SLF4j logging jars
- org.apache.solr.common.SolrException: ERROR: multiple values encountered for non multiValued copy
- 使用SolrCloud出现org.apache.solr.common.SolrException: Collection not found: my_solr2
- Android 序列化之Serializable和Parcelable
- Spring中@transactional原理
- 图片上传、预览 存到本地
- 基于Springmvc实现简单的一次选中多个文件上传
- [BZOJ4570]-[Scoi2016]妖怪-凸包
- org.apache.solr.common.SolrException undefined field text
- 6D-java-姜/sr
- Web开发发布环境:tomcat、Eclipse
- mybatis代码自动生成工具(maven方式)
- 给织梦的dede:channel增加可选择范围的属性
- Android Studio maven-metadata.xml 卡着不动原因和解决方法
- c# 关于aforgenet获取本地摄像头
- 织梦dedecms让dede:channel支持调用[field:seotitle/]
- Scala函数