apache / apache/lucene

GeoPoint and LatLonPoint test data should quantize once [LUCENE-7179]

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

Description

`LatLonPoint` and `GeoPointField` tests pre quantizes test data to ensure consistency with indexed (encoded) data. The pre quantized data then becomes indexed, undergoing another quantization. To guarantee numerical stability this should be changed such that the test data is quantized after indexing.

---
Migrated from [LUCENE-7179](https://issues.apache.org/jira/browse/LUCENE-7179) by Nick Knize (@nknize)
Attachments: [LUCENE-7179.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-7179/LUCENE-7179.patch)
Linked issues:
- #8220

Contributor guide

Open the contributing guide

Research direction

Start by locating the LatLonPoint and GeoPointField tests and reviewing how their test data is quantized. The attached LUCENE-7179.patch and linked issue #8220 provide context. Done means the data is quantized after indexing rather than pre-quantized before indexing, with the relevant tests passing.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.