Elasticlunr.Storage behaviour (Elasticlunr v0.4.0) View Source

Link to this section Summary

Link to this section Callbacks

Specs

load_all(opts :: keyword()) :: Enum.t()

Specs

read(name :: Elasticlunr.index_name(), opts :: keyword()) ::
  Elasticlunr.Index.t()

Specs

write(index :: Elasticlunr.Index.t(), opts :: keyword()) ::
  :ok | {:error, any()}