File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44
55require (
66 github.com/RoaringBitmap/roaring/v2 v2.4.5
7- github.com/blevesearch/bleve_index_api v1.2.9
7+ github.com/blevesearch/bleve_index_api v1.2.10-0.20250818181143-42826d84beea
88)
99
1010require (
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ github.com/RoaringBitmap/roaring/v2 v2.4.5 h1:uGrrMreGjvAtTBobc0g5IrW1D5ldxDQYe2
22github.com/RoaringBitmap/roaring/v2 v2.4.5 /go.mod h1:FiJcsfkGje/nZBZgCu0ZxCPOKD/hVXDS2dXi7/eUFE0 =
33github.com/bits-and-blooms/bitset v1.12.0 h1:U/q1fAF7xXRhFCrhROzIfffYnu+dlS38vCZtmFVPHmA =
44github.com/bits-and-blooms/bitset v1.12.0 /go.mod h1:7hO7Gc7Pp1vODcmWvKMRA9BNmbv6a/7QIWpPxHddWR8 =
5- github.com/blevesearch/bleve_index_api v1.2.9 h1:WqD3kvYwnlYLv8sTdH+AF7n/L4v969Cek68+wZnYj4Q =
6- github.com/blevesearch/bleve_index_api v1.2.9 /go.mod h1:rKQDl4u51uwafZxFrPD1R7xFOwKnzZW7s/LSeK4lgo0 =
5+ github.com/blevesearch/bleve_index_api v1.2.10-0.20250818181143-42826d84beea h1:CyyHwFaoPBkhmUX3+Y+NV6F2PuYg5nH/ptgDlrvzFvc =
6+ github.com/blevesearch/bleve_index_api v1.2.10-0.20250818181143-42826d84beea /go.mod h1:rKQDl4u51uwafZxFrPD1R7xFOwKnzZW7s/LSeK4lgo0 =
77github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
88github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c =
99github.com/davecgh/go-spew v1.1.1 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ package segment
2020import (
2121 "encoding/json"
2222
23+ index "github.com/blevesearch/bleve_index_api"
2324 "github.com/RoaringBitmap/roaring/v2"
2425)
2526
@@ -64,6 +65,8 @@ type VectorIndex interface {
6465 params json.RawMessage ) (VecPostingsList , error )
6566 Close ()
6667 Size () uint64
68+
69+ ObtainTopKCentroidCardinalitiesFromIVFIndex (limit int ) ([]index.CentroidCardinality , error )
6770}
6871
6972type VectorSegment interface {
You can’t perform that action at this time.
0 commit comments