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

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.

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.

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

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