转自: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,则只能检索不能展示。

相关文章: