Elasticlunr.IndexManager (Elasticlunr v0.6.6) 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
init(Elasticlunr.Index.t()) :: {:ok, Elasticlunr.Index.t()}
Callback implementation for GenServer.init/1
.
Specs
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