标签: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
标签:mon filter form nali rmi term lang size regular
原文地址:http://www.cnblogs.com/WCFGROUP/p/6016974.html