solr错误【已解决】:solr is not an explicit field and doesn't match a dynamicField

  • 作者: 凯哥Java(公众号:凯哥Java)
  • Solr
  • 时间:2022-02-10 11:28
  • 4524人已阅读
简介 在配置solr字段后,错误信息:solr is not an explicit field and doesn't match a dynamicField

🔔🔔好消息!好消息!🔔🔔

 如果您需要注册ChatGPT,想要升级ChatGPT4。凯哥可以代注册ChatGPT账号代升级ChatGPT4

有需要的朋友👉:微信号 kaigejava2022

在配置solr字段后,错误信息如下:solr is not an explicit field and doesn't match a dynamicField

8fb3c452bd94c84fe94d9c0cb5d5f2c1.png提示说: Can't load schema managed-schema: copyField dest :'text_general' is not an explicit field and doesn't match a dynamicField.

我们在来看看copyField怎么使用:

copyField:复制域:将原域的内容复制到目标域中,一般作为默认域使用

<copyField source="cat" dest="text"/>

目标域:必须是multiValued类型

<field name="text" type="text_general" indexed="true" stored="false" multiValued="true"/>


https://www.liangzl.com/get-article-detail-96332.html

TopTop