apache / apache/lucene

Add distance sorting to GeoPointField [LUCENE-7180]

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

Description

This adds distance sort capability to `GeoPointField` similar to `LatLonPointSortField`.

---
Migrated from [LUCENE-7180](https://issues.apache.org/jira/browse/LUCENE-7180) by Nick Knize (@nknize), updated Apr 06 2016
Attachments: [LUCENE-7180.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7180/LUCENE-7180.patch) (versions: 2)

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue and the referenced LUCENE-7180 patch, then compare GeoPointField with LatLonPointSortField. Trace the existing field and sorting entry points and review the attached patch; done means GeoPointField supports distance sorting with behavior consistent with the requested capability and the relevant tests pass.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.