idxcron

package
v0.0.0-debug-20260702 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package idxcron is IVF-PQ's idxcron hook implementation. Mirrors CAGRA — delegates to the shared cuvs body, swapping in IVF-PQ's storage table type and threshold key (lists).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hooks

type Hooks struct{}

func (Hooks) Updatable

func (Hooks) Updatable(in idxcronplugin.UpdatableInput) (bool, string, error)

Updatable gates IVF-PQ's cron-triggered rebuild on the cuvs k-means minimum — lists. With fewer points than lists, k-means can't form the cluster centroids, so the rebuild has nothing to train on. Brute-force search handles small-scale queries until the dataset crosses the threshold.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL