转自:http://kangrui.iteye.com/blog/2262860

reindex from some field,对某些字段重建索引的时候。从source中读取数据然后reindex,和从某些field中读取数据相比,显然后者代价更低一些。这些字段store设置为yes比较合适。 

总结: 
如果对某个field做了索引,则可以查询。如果store:yes,则可以展示该field的值。 
但是如果你存储了这个doc的数据(_source enable),即使store为no,仍然可以得到field的值(client去解析)。 
所以一个store设置为no 的field,如果_source被disable,则只能检索不能展示。

相关文章:

  • 2021-12-06
  • 2021-05-18
  • 2021-09-22
  • 2021-08-25
  • 2021-04-23
  • 2021-06-24
  • 2022-12-23
  • 2021-07-08
猜你喜欢
  • 2021-09-12
  • 2022-03-09
  • 2021-07-30
  • 2022-02-19
  • 2022-02-25
相关资源
相似解决方案