Skip to content

Merge branch 'main' into harshil-goel/split-vector3

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

feat(core): Add new index PartitionedHNSW for vectors #9469

Merge branch 'main' into harshil-goel/split-vector3
037faa1
Select commit
Loading
Failed to load commit list.
GitHub Actions / Trunk Check failed Nov 14, 2025 in 4m 42s

Trunk Check

Checked 16 modified files
8 existing issues (use --show-existing to see them)
✖ 10 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 28 in tok/partitioned_hnsw/partitioned_hnsw.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(unused)

[new] field vecCount is unused

Check failure on line 1432 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 1586 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 1644 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 1658 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

Check failure on line 122 in tok/hnsw/persistent_hnsw.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(staticcheck)

[new] S1023: redundant return statement

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

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(staticcheck)

[new] ST1005: error strings should not be capitalized

Check failure on line 119 in tok/kmeans/kmeans.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(unused)

[new] func (*vectorCentroids[T]).getCentroids is unused

Check failure on line 140 in tok/kmeans/kmeans.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(unused)

[new] func (*vectorCentroids[T]).findNClosestCentroids is unused

Check failure on line 446 in systest/vector/vector_test.go

See this annotation in the file changed.

@github-actions github-actions / Trunk Check

golangci-lint2(ineffassign)

[new] ineffectual assignment to err