// Package semanticbackfill implements the operator command that schedules // vector jobs for existing published candidates and needs, for example after // semantic matching is enabled, the semantic policy is published, or the ML // model changes. The jobs run in the backend worker; the command only // schedules them and prints the resume cursor of every page. package semanticbackfill import ( "context" "errors" "flag" "fmt" "io" "time" "github.com/google/uuid" "lincodex/backend/config" "lincodex/backend/internal/adapter/secondary/postgres" "lincodex/backend/internal/usecase/semantic" ) const usage = "usage: semantic-backfill candidates|needs|all --run