Elasticlunr (Elasticlunr v0.4.0) View Source

Documentation for Elasticlunr.

Link to this section Summary

Link to this section Functions

Specs

default_pipeline() :: Elasticlunr.Pipeline.t()
Link to this function

flush_indexes(provider \\ Disk, opts \\ [])

View Source

Specs

flush_indexes(module(), keyword()) :: :ok | {:error, any()}

Specs

index(binary(), keyword()) :: Elasticlunr.Index.t() | :not_running
Link to this function

load_indexes(provider \\ Disk, opts \\ [])

View Source

Specs

load_indexes(module(), keyword()) :: :ok
Link to this function

update_index(name, callback)

View Source

Specs

update_index(binary(), function()) :: Elasticlunr.Index.t() | :not_running