Data type for 3 - 8 dimensions in k-d tree?


(Ian Campbell) #1

This blog post talks of having up to 8 dimensions in the internal k-d tree index. However, the only data type I can find that would use a k-d tree is the 2D geo type.

How does one use 3+ dimensions? This would be very beneficial to my use case.


(Ryan Ernst) #2

You would need to create your own mapping type, which uses the Lucene apis to index such data. Elasticsearch does not expose any types with arbitrary or flexible dimensions.


(Ian Campbell) #3

Thanks. Do you know if this is planned for Elasticsearch at some point?


(system) #4

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