Add Spatial4j DistanceCalculator impl based on SloppyMath [LUCENE-5458]
- Dominant language
- Java
- Stars
- 3.6k
- Forks
- 1.4k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 88
Description
It'd be nice if Lucene-spatial could plug in a custom implementation of a Spatial4j DistanceCalculator when the Spatial4j SpatialContext is initialized. This implementation would use Lucene util's SloppyMath. No change needed on Spatial4j side; it's all here.
---
Migrated from [LUCENE-5458](https://issues.apache.org/jira/browse/LUCENE-5458) by David Smiley (@dsmiley)
Contributor guide
Research direction
Start in the lucene-spatial integration around Spatial4j SpatialContext and its DistanceCalculator extension point. Read Lucene util's SloppyMath to understand the intended distance calculation, then determine how the custom implementation can be initialized without changes to Spatial4j. Done means lucene-spatial can use this SloppyMath-based calculator.
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