Elasticlunr.IndexManager (Elasticlunr v0.4.0) View Source

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Callback implementation for GenServer.init/1.

Link to this section Functions

Specs

child_spec(Elasticlunr.Index.t()) :: map()

Returns a specification to start this module under a supervisor.

See Supervisor.

Specs

get(binary()) :: Elasticlunr.Index.t() | :not_running

Specs

Callback implementation for GenServer.init/1.

Specs

load_index(Elasticlunr.Index.t()) :: {:ok, Elasticlunr.Index.t()}

Specs

loaded?(binary()) :: boolean()

Specs

loaded_indices() :: [binary()]

Specs

start_link(Elasticlunr.Index.t()) :: :ignore | {:error, any()} | {:ok, pid()}

Specs

update_index(Elasticlunr.Index.t()) :: Elasticlunr.Index.t() | :not_running

Specs

via(binary()) :: {:via, Registry, {Elasticlunr.IndexRegistry, atom()}}