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


(Hubo3085632) #1

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?


(Michael McCandless) #2

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


(Hubo3085632) #3

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


(system) #4

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