Elasticlunr.DocumentStore (Elasticlunr v0.6.6) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Elasticlunr.DocumentStore{
  document_info: map(),
  documents: map(),
  length: pos_integer(),
  save: boolean()
}

Link to this section Functions

Link to this function

add(store, ref, document)

View Source

Specs

Link to this function

add_field_length(store, ref, field, length)

View Source

Specs

Link to this function

exists?(document_store, ref)

View Source

Specs

Link to this function

get(document_store, ref)

View Source

Specs

get(t(), Elasticlunr.Field.document_ref()) :: map() | nil
Link to this function

get_field_length(store, ref, field)

View Source

Specs

Specs

new(boolean()) :: t()

Specs

remove(t(), Elasticlunr.Field.document_ref()) :: map() | nil
Link to this function

reset(document_store, save \\ true)

View Source

Specs

reset(t(), boolean()) :: t()
Link to this function

update_field_length(store, ref, field, length)

View Source

Specs