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

blevesearch / bleve / 23666911021
53%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2026 08:51PM UTC
Jobs 1
Files 421
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

27 Mar 2026 08:49PM UTC coverage: 52.505% (-0.1%) from 52.61%
23666911021

push

github

web-flow
MB-62182: Implement File transfer APIs (#2279)

- Utilizes the new file transfer APIs to able to transfer the trained
index file from one bleve index to another. This is helpful in a
multi-partition scenario with a single datasource - where only one bleve
index is trained on a set of vectors and then transfer the generated
file to the other bleve indexes.
- The file transfer is currently focused around the trained index file
but the protocol is such that its future extendable for other files if
needed.
- The main control flow here is that the application needs to implement
the `IndexDirectory` interface which maintains a reference to the
destination bleve index.
- Now, when the `srcIndex.CopyFile(index.TrainedIndexFileName,
directory)` is invoked, it internally fetches the writer on the
destination using `directory.GetWriter()`
- Then, as part of the CopyFile it does an `io.Copy()` of the specific
file and currently this is focused only for trained index file.
- This is followed by an update bolt transaction + commit and sync in
the destination index by invoking `directory.SetPathInBolt(fileName,
filePath)`. This is mandatory since bolt is reflective of the on-disk
information.

1 of 75 new or added lines in 4 files covered. (1.33%)

2 existing lines in 1 file now uncovered.

19220 of 36606 relevant lines covered (52.51%)

0.59 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
65.22
-0.09% index/scorch/persister.go
6
15.0
-6.43% index/scorch/train_noop.go
24
67.6
-1.4% index_impl.go
42
52.9
-2.89% index/scorch/scorch.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
61.97
-0.43% index/scorch/merge.go
Jobs
ID Job ID Ran Files Coverage
1 23666911021.1 27 Mar 2026 08:51PM UTC 421
52.51
GitHub Action Run
Source Files on build 23666911021
  • Tree
  • List 421
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 007a5dac on github
  • Prev Build on master (#23662237690)
  • Next Build on master (#23763975219)
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