Skip to main content

Crate ygrep_core

Crate ygrep_core 

Source
Expand description

ygrep-core - Core library for ygrep semantic code search

This crate provides the core functionality for indexing and searching code:

  • Tantivy-based full-text indexing
  • File system walking with symlink handling
  • BM25 text search + semantic vector search (with embeddings feature)
  • Hybrid search with Reciprocal Rank Fusion
  • Configuration management

Re-exports§

pub use config::Config;
pub use error::Result;
pub use error::YgrepError;
pub use watcher::FileWatcher;
pub use watcher::WatchEvent;

Modules§

config
dashboard
Dashboard types and watch manager for multi-workspace orchestration
error
fs
index
search
watcher
File system watcher for incremental index updates

Structs§

IndexStats
Statistics from an indexing operation
Workspace
High-level workspace for indexing and searching

Type Aliases§

LogSender
Sender for routing log messages (e.g. to dashboard TUI instead of stderr)