Versions in this module Expand all Collapse all v0 v0.1.1 Sep 11, 2026 v0.1.0 Sep 8, 2026 Changes in this version + type Store struct + func New(path, modelName string, dim int) (*Store, error) + func (s *Store) Close() error + func (s *Store) CountChunks(ctx context.Context) (int, error) + func (s *Store) DeleteFile(ctx context.Context, id int64) error + func (s *Store) DeleteSymbolsByFile(ctx context.Context, fileID int64) error + func (s *Store) GetCalleeEdges(ctx context.Context, srcIDs []int64, limitPerSymbol int) (map[int64][]int64, error) + func (s *Store) GetCallerEdges(ctx context.Context, dstIDs []int64, limitPerSymbol int) (map[int64][]int64, error) + func (s *Store) GetEdges(ctx context.Context, symbolID int64) ([]store.Edge, error) + func (s *Store) GetEmbedding(ctx context.Context, symbolID int64) ([]float32, bool, error) + func (s *Store) GetEmbeddingsByIDs(ctx context.Context, ids []int64) (map[int64][]float32, error) + func (s *Store) GetFileByPath(ctx context.Context, path string) (*store.File, error) + func (s *Store) GetFilesByIDs(ctx context.Context, ids []int64) (map[int64]string, error) + func (s *Store) GetSymbolBody(ctx context.Context, symbolID int64) (store.SymbolBody, error) + func (s *Store) GetSymbolsByIDs(ctx context.Context, ids []int64) ([]store.Symbol, error) + func (s *Store) IndexContentVersion(ctx context.Context) (int, error) + func (s *Store) ListAllEdges(ctx context.Context) ([]store.Edge, error) + func (s *Store) ListAllSymbolIDs(ctx context.Context) ([]int64, error) + func (s *Store) ListFiles(ctx context.Context) ([]store.File, error) + func (s *Store) ListSymbolMeta(ctx context.Context) ([]store.Symbol, error) + func (s *Store) ListSymbolsByFile(ctx context.Context, fileID int64) ([]store.Symbol, error) + func (s *Store) ListSymbolsByLanguage(ctx context.Context, language string) ([]store.Symbol, error) + func (s *Store) ListSymbolsMissingEmbedding(ctx context.Context) ([]store.SymbolToEmbed, error) + func (s *Store) RebuildVecCacheFile(ctx context.Context) error + func (s *Store) SaveEdge(ctx context.Context, e store.Edge) error + func (s *Store) SaveEdgeBatch(ctx context.Context, edges []store.Edge) error + func (s *Store) SaveFile(ctx context.Context, f *store.File) (int64, error) + func (s *Store) SaveSymbol(ctx context.Context, sym *store.Symbol) (int64, error) + func (s *Store) SaveSymbolBatch(ctx context.Context, symbols []store.Symbol) ([]int64, error) + func (s *Store) SaveSymbolChunks(ctx context.Context, chunks []store.SymbolChunk) ([]int64, error) + func (s *Store) SearchByBodyText(ctx context.Context, query string, k int) ([]store.ScoredSymbol, error) + func (s *Store) SearchByChunkVector(ctx context.Context, vec []float32, k int) ([]store.ScoredSymbol, error) + func (s *Store) SearchByText(ctx context.Context, query string, k int) ([]store.ScoredSymbol, error) + func (s *Store) SearchByVector(ctx context.Context, embedding []float32, topK int) ([]store.Symbol, error) + func (s *Store) SearchByVectorScored(ctx context.Context, vec []float32, k int) ([]store.ScoredSymbol, error) + func (s *Store) SetIndexContentVersion(ctx context.Context, version int) error + func (s *Store) UpsertChunkEmbeddingBatch(ctx context.Context, embeddings []store.ChunkEmbedding) error + func (s *Store) UpsertEmbedding(ctx context.Context, symbolID int64, vec []float32) error + func (s *Store) UpsertEmbeddingBatch(ctx context.Context, embeddings []store.Embedding) error