API Reference barrel_ngram v#0.9.0

View Source

Modules

barrel_ngram: exact substring search over barrel_docdb.

barrel_ngram application module.

Corpus text extraction.

Corpus-level persisted config (corpus.meta).

One-shot corpus open/close coordinator.

Dynamic supervisor for one-shot corpus lifecycle coordinators.

Per-corpus segment manifest.

Segment compaction: merge several immutable segments into one.

Query planner: decides, per segment, how much a literal's or regex's phase-2 (positional) postings can narrow candidates.

Posting-list codec and intersection.

Positional (phase-2) posting-list codec: like barrel_ngram_postings, but per ordinal it stores the byte offsets where the gram occurs, not just the ordinal itself.

Substring query path: fan across segments, then the confirm pass.

Regex to mandatory-trigram query (Russ Cox / Google Code Search), plus width/anchor analysis for the positional planner.

Local name registry for ngram shards.

Roaring bitmap set operations over integer ordinals (NIF).

Immutable trigram segment file: write and read.

Gram-selection behaviour: the shared seam between the indexer and the query planner.

Dense gram selector: every overlapping byte trigram.

Sparse (content-defined) gram selector.

Per-corpus shard: changes-feed subscriber, segment writer, and compaction coordinator.

Dynamic supervisor for ngram shard processes.

Rendezvous (HRW) sharding for a corpus.

Content-source behaviour for windowed verification.

In-memory barrel_ngram_source implementation.

barrel_ngram top-level supervisor.

Windowed literal and regex verification.