apache / apache/lucene

Add Geo3DPoint equivalents of LatLonPointDistanceComparator and LatLonPointSortField [LUCENE-7212]

Open
#8,267 49 comments 0 reactions 0 assignees View on GitHub
affects-version:6.0 legacy-jira-priority:Major type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

Geo3D has a number of distance measurements and a generic way of computing interior distance. It would be great to take advantage of that for queries that return results ordered by interior distance.

---
Migrated from [LUCENE-7212](https://issues.apache.org/jira/browse/LUCENE-7212) by Karl Wright (@DaddyWri), updated May 18 2016
Attachments: [LUCENE-7212.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7212/LUCENE-7212.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start by reading the existing LatLonPointDistanceComparator and LatLonPointSortField entry points, then review the Geo3D distance measurements and generic interior-distance computation described in the issue. The work is complete when Geo3DPoint equivalents support ordering query results by interior distance, with behavior covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.