mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
WIP on DeleteShard in API, drilling down to lower levels of FB
This commit is contained in:
parent
4bff8b23cb
commit
01f069aec7
1 changed files with 4 additions and 0 deletions
4
api.go
4
api.go
|
|
@ -773,6 +773,10 @@ func (api *API) DeleteShard(_ context.Context, indexName string, shardID uint64)
|
|||
}
|
||||
|
||||
// Get views of shards
|
||||
// --> maybe can use InMemSharder() from disco?
|
||||
sharder := disco.NewInMemSharder()
|
||||
ctx := context.Background()
|
||||
// sharder.Shards(ctx, idx,) <-- need a field name
|
||||
// ??? sv := idx.fieldView2shard().removeField()
|
||||
// ??? maybe just use the api.DeleteField() method?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue