Skip to content

Commit 6f82c97

Browse files
committed
rename APIs
1 parent d94f04e commit 6f82c97

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

segment_vector.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ type VectorIndex interface {
7777
ObtainKCentroidCardinalitiesFromIVFIndex(limit int, descending bool) ([]index.CentroidCardinality, error)
7878
}
7979

80-
// refactor this?
81-
type CentroidIndexSegment interface {
80+
type TrainedSegment interface {
8281
Segment
8382
GetCoarseQuantizer(field string) (*faiss.IndexImpl, error)
8483
}

0 commit comments

Comments
 (0)