barrel_ngram_app (barrel_ngram v0.9.0)
View Sourcebarrel_ngram application module.
Starts the supervision subtree for the trigram index.
Summary
Functions
Clears every corpus's persistent_term meta (both the query-trusted cache and the discovery-only pending cache) -- persistent_term survives application:stop/start (no VM restart) while shard processes do not, so stale meta would otherwise make is_open/1 lie and a query crash with noproc.
Functions
-spec start(application:start_type(), term()) -> {ok, pid()} | {error, term()}.
-spec stop(term()) -> ok.
Clears every corpus's persistent_term meta (both the query-trusted cache and the discovery-only pending cache) -- persistent_term survives application:stop/start (no VM restart) while shard processes do not, so stale meta would otherwise make is_open/1 lie and a query crash with noproc.