apache / apache/lucene

Unusually slow indexing polygons

Open
#11,777 0 comments 0 reactions 0 assignees View on GitHub
type:enhancement
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

### Description

Some polygons are taking a lot of time to index (13MB, 15 minutes), and some way larger ones (50MB+) taking just a couple of minutes.

Attached two of this polygons.

[FE-24544446.txt](https://github.com/apache/lucene/files/9577391/FE-24544446.txt)
[ORG-24132378.txt](https://github.com/apache/lucene/files/9577398/ORG-24132378.txt)

This may be related to this other issue: https://github.com/apache/lucene/issues/11767

Contributor guide

Open the contributing guide

Research direction

Start by comparing the two attached polygon files, FE-24544446.txt and ORG-24132378.txt, and read the related issue 11767. Reproduce their indexing times and trace the indexing path to identify why the smaller polygon is slower; done means the cause and a verified correction are established.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.