Does all the data type in elasticsearch indexed by invert index?

i'd read es index structure from the es'doc and other invert index documents ,i am interesting about the range query,does it only using invert index to achieve?

In ES 5.x the numeric range queries now use a spatial data structure (block KD tree) to compute the matching documents.

Older versions of ES did use (abuse) the inverted index for this.

This blog post describes the evolution of numeric range filtering in ES/Lucene: https://www.elastic.co/blog/apache-lucene-numeric-filters

Mike McCandless

1 Like

thank you very much,i will try es 5,does es'core same with lucene?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.