Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Checkpoints ¶
type Checkpoints struct {
// contains filtered or unexported fields
}
Checkpoints keeps track of the last indexed vector id for each shard. It stores the ids in a BoltDB file.
func New ¶
func New(dir string, logger logrus.FieldLogger) (*Checkpoints, error)
func (*Checkpoints) Delete ¶
func (c *Checkpoints) Delete(shardID string) error
func (*Checkpoints) Filename ¶
func (c *Checkpoints) Filename() string
Click to show internal directories.
Click to hide internal directories.