Skip to main content

Crate ix

Crate ix 

Source
Expand description

ix — trigram code search library

Build order: formatvarinttrigrambloompostingstring_poolbuilderreaderplannerexecutorscanner

Re-exports§

pub use crate::builder::Builder;
pub use crate::format::Beacon;
pub use crate::idle::IdleTracker;
pub use crate::watcher::Watcher;

Modules§

archive
Archive searching support (.zip, .tar.gz).
bloom
Per-file bloom filters.
builder
Index builder — the complete pipeline from files to .ix shard.
config
Configuration loading for ix.
decompress
Transparent decompression by file extension.
error
Error types for the ix crate.
executor
Query executor — search through the index and verify results.
format
Index file format constants and header parsing.
idle
Idle/dormancy detection for the daemon.
planner
Query planner — transforms user input into an optimal index query plan.
posting
Posting list encode/decode (delta + varint + ZSTD compression).
reader
Index reader — the mmap-based query-time interface.
scanner
Fallback scanner (no index, competitive with ripgrep).
string_pool
Path string pool with prefix deduplication.
trigram
Trigram extraction — the core indexing primitive.
varint
Protobuf-style varint encoding/decoding.
watcher
File system watcher (notify crate) with debouncing.

Functions§

run_daemon
Run the daemon watching the given directory for changes and rebuilding the index.