quickwit-oss / quickwit-oss/quickwit
floating point that are whole number are shown without .0
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
when showing floating point (in this case inside a json field, i haven't tried in a f64 field, but have no reason to think it's different), if the value is a whole number such as 404.0, it is shown as 404 (no .0). This is very confusing as if you search for 404 inside a json field, you won't find documents where the value was actually 404.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the behavior for a whole-number floating-point value such as 404.0 inside a JSON field, and compare it with a value stored as 404. Check how displayed values are serialized and how searches distinguish 404 from 404.0. Done means whole-number floating-point values retain the .0 representation and the corresponding searches behave distinctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100