apache / apache/lucene

Add GeoPointDistanceQuery for GeoPointField type [LUCENE-6532]

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

Description

[LUCENE-6481 \| https://issues.apache.org/jira/browse/LUCENE-6481] adds GeoPointField w/ GeoPointInBBox and GeoPointInPolygon queries. This feature adds GeoPointDistanceQuery to support point radius queries.

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

Contributor guide

Open the contributing guide

Research direction

Start by reading the GeoPointField work in LUCENE-6481 and comparing the existing GeoPointInBBox and GeoPointInPolygon queries with the attached LUCENE-6532.patch. Trace how those queries are exposed and tested, then verify that GeoPointDistanceQuery supports point-radius queries consistently with them.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.