Solr在新增数据时,只能使用提前配置好映射属性的字段,否则就会报错。

不过在Elasticsearch中并没有这样的规定。

事实上Elasticsearch非常智能,你不需要给索引库设置任何mapping映射,它也可以根据你输入的数据来判断类型,动态添加数据映射。Elasticsearch的智能判断:动态添加数据映射Elasticsearch的智能判断:动态添加数据映射

相关文章:

  • 2021-11-13
  • 2021-04-19
  • 2022-12-23
  • 2022-02-20
  • 2021-09-05
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案