码迷,mamicode.com
首页 > 其他好文 > 详细

ES questions

时间:2016-10-31 21:30:32      阅读:201      评论:0      收藏:0      [点我收藏+]

标签:mon   filter   form   nali   rmi   term   lang   size   regular   

Be Careful of Cardinality

Numeric and date fields are indexed in such a way that ranges are efficient to calculate.

This is not the case for string fields, however. To perform a range on a string

field, Elasticsearch is effectively performing a term filter for every term that falls in

the range. This is much slower than a date or numeric range.

String ranges are fine on a field with

ES questions

标签:mon   filter   form   nali   rmi   term   lang   size   regular   

原文地址:http://www.cnblogs.com/WCFGROUP/p/6016974.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!