Elasticlunr.Storage (Elasticlunr v0.6.6) View Source

This is the storage interface that's used by the index manager.

config :elasticlunr,
  storage: Elasticlunr.Storage.Blackhole # this is the default provider

Link to this section Summary

Link to this section Functions

Specs

all() :: Enum.t()

Specs

delete(binary()) :: :ok | {:error, any()}

Specs

read(binary()) :: Elasticlunr.Index.t() | {:error, any()}

Specs

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