• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

blevesearch / bleve / 24472271018
52%

Build:
DEFAULT BRANCH: master
Ran 15 Apr 2026 06:52PM UTC
Jobs 1
Files 428
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Apr 2026 06:50PM UTC coverage: 51.65% (-0.03%) from 51.682%
24472271018

push

github

web-flow
Fix `null` issue when parsing search request attributes (#2312)

- We allow parsing a few attributes of the search request as
`json.RawMessage` like
    - `KNN Params`
    - `KNN Filter`
    - `PresearchData`
- It is possible for the JSON body to contain the keyword `null` for
these attributes, especially after a marshal-unmarshal cycle.
- This `null` value is passed on downstream, causing every check for
`len(attribute) > 0` to succeed and take the path for which the
attribute is valid even if the attribute is actually `nil`.
- Fix this issue by adding a custom type that parses `null` specially
and sets the attribute to `nil` when required.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

15 of 27 new or added lines in 2 files covered. (55.56%)

6 existing lines in 1 file now uncovered.

19425 of 37609 relevant lines covered (51.65%)

0.58 hits per line

Uncovered Changes

Lines Coverage ∆ File
12
52.37
-1.27% search.go

Coverage Regressions

Lines Coverage ∆ File
6
60.38
-1.26% index/scorch/merge.go
Jobs
ID Job ID Ran Files Coverage
1 24472271018.1 15 Apr 2026 06:52PM UTC 428
51.65
GitHub Action Run
Source Files on build 24472271018
  • Tree
  • List 428
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 40512793 on github
  • Prev Build on master (#24210552498)
  • Next Build on master (#24472290282)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc