[
https://issues.apache.org/jira/browse/LUCENE-6480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicholas Knize updated LUCENE-6480:
-----------------------------------
Attachment: MortonEncoding3D.java
This issue will be revisited once all in-flight GeoPointField and BKD issues
are resolved. In the meantime, I am attaching my bit twiddling code that
encodes a 3D GeoPoint into a 96 bit encoding scheme for anyone that wants to
tinker w/ 3D BKD or GPF.
A snapshot of the encoding/decoding performance is provided below:
{noformat}
Avg computation: 95.05450009122806 ns Trials: 285000000 Total time:
27090.532526 ms
Avg computation: 95.02972751724138 ns Trials: 290000000 Total time:
27558.62098 ms
Avg computation: 95.12489473898304 ns Trials: 295000000 Total time:
28061.843948 ms
Avg computation: 95.15410407 ns Trials: 300000000 Total time: 28546.231221 ms
Avg computation: 95.3290865737705 ns Trials: 305000000 Total time:
29075.371405 ms
{noformat}
> Extend Simple GeoPointField Type to 3d
> ---------------------------------------
>
> Key: LUCENE-6480
> URL: https://issues.apache.org/jira/browse/LUCENE-6480
> Project: Lucene - Core
> Issue Type: New Feature
> Components: core/index
> Reporter: Nicholas Knize
> Attachments: MortonEncoding3D.java
>
>
> [LUCENE-6450 | https://issues.apache.org/jira/browse/LUCENE-6450] proposes a
> simple GeoPointField type to lucene core. This field uses 64bit encoding of 2
> dimensional points to construct sorted term representations of GeoPoints
> (aka: GeoHashing).
> This feature investigates adding support for encoding 3 dimensional
> GeoPoints, either by extending GeoPointField to a Geo3DPointField or adding
> an additional 3d constructor.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]