Skip to content

added changes

511d74e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

perf(vector): Improve hnsw by sharding vectors #9453

added changes
511d74e
Select commit
Loading
Failed to load commit list.
GitHub Actions / Trunk Check failed Jun 30, 2025 in 4m 41s

Trunk Check

Checked 15 modified files
11 existing issues (use --show-existing to see them)
✖ 7 new lint issues

Details

To reproduce and test locally, run:
trunk check

For help resolving these issues, see our docs on running on PRs or debugging Trunk Check

Annotations

Check failure on line 66 in tok/partitioned_hnsw/partitioned_factory.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(staticcheck)

[new] S1028: should use fmt.Errorf(...) instead of errors.New(fmt.Sprintf(...))

Check failure on line 808 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(errcheck)

[new] Error return value of `proto.Unmarshal` is not checked

Check failure on line 1412 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(unused)

[new] const numCentroids is unused

Check failure on line 1612 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(errcheck)

[new] Error return value of `MemLayerInstance.IterateDisk` is not checked

Check failure on line 1662 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(errcheck)

[new] Error return value of `indexer.BuildInsert` is not checked

Check failure on line 1688 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(errcheck)

[new] Error return value of `indexer.BuildInsert` is not checked

Check failure on line 1702 in posting/index.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(errcheck)

[new] Error return value of `x.ExponentialRetry` is not checked