Elasticlunr.Storage.Disk (Elasticlunr v0.6.6) View Source

This storage provider writes data to the local disk of the running application.

config :elasticlunr,
  storage: Elasticlunr.Storage.Disk
config :elasticlunr, Elasticlunr.Storage.Disk,
  directory: "/path/to/project/storage"

Link to this section Summary

Link to this section Functions

Specs

files() :: [binary()]
Link to this function

write_serialized_index_to_file(path, data)

View Source

Specs

write_serialized_index_to_file(binary(), Enum.t()) :: :ok