Elasticlunr.IndexManager (Elasticlunr v0.6.6) View Source

Link to this section Summary

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

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

Specs

loaded_indices() :: [binary()]

Specs

preload() :: :ok

Specs

remove(Elasticlunr.Index.t()) :: :ok | :not_running

Specs

save(Elasticlunr.Index.t()) :: {:ok, Elasticlunr.Index.t()} | {:error, any()}

Specs

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

Specs

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

Specs

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