apache / apache/lucene

Size Estimator wrongly calculate Disk space in MB [LUCENE-8329]

Open
#9,376 8 comments 0 reactions 0 assignees View on GitHub
affects-version:7.3.1 legacy-jira-priority:Minor tool:build type:bug
Dominant language
Java
Stars
3.6k
Forks
1.4k
Avg merge
2d 11h
Merged PRs (30d)
88

Description

The size estimator dev tool ( dev-tools/size-estimator-lucene-solr.xls )currently :
- Wrongly calculates disk size in MB ( showing GB)
- Doesn't specify clearly that the space needed by the optimize is FREE space
- Avg. Document Size (KB) when they are more correctly Avg. Document Field Size (KB)

Scope of this issue is just to fix these small mistakes.
Out of scope is any improvement to the tool ( potentially separate Jira issues will follow)

---
Migrated from [LUCENE-8329](https://issues.apache.org/jira/browse/LUCENE-8329) by Alessandro Benedetti (@alessandrobenedetti), updated Jan 24 2020
Attachments: [LUCENE-8329.patch](https://apache.github.io/lucene-jira-archive/attachments/LUCENE-8329/LUCENE-8329.patch)
Pull requests: https://github.com/apache/lucene-solr/pull/381

Contributor guide

Open the contributing guide

Research direction

Open dev-tools/size-estimator-lucene-solr.xls and compare it with the attached LUCENE-8329.patch. Verify the three requested corrections: disk space must display MB, optimize space must be identified as free space, and the label must say Avg. Document Field Size (KB). The work is done when the spreadsheet reflects these corrections without broader improvements.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.