Elasticlunr.DocumentStore (Elasticlunr v0.4.0) 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
Specs
add(t(), Elasticlunr.Index.document_ref(), map()) :: t()
Specs
add_field_length( t(), Elasticlunr.Index.document_ref(), Elasticlunr.Index.document_field(), pos_integer() ) :: t()
Specs
exists?(t(), Elasticlunr.Index.document_ref()) :: boolean()
Specs
get(t(), Elasticlunr.Index.document_ref()) :: map() | nil
Specs
get_field_length( t(), Elasticlunr.Index.document_ref(), Elasticlunr.Index.document_field() ) :: pos_integer()
Specs
Specs
remove(t(), Elasticlunr.Index.document_ref()) :: map() | nil
Specs
Specs
update_field_length( t(), Elasticlunr.Index.document_ref(), Elasticlunr.Index.document_field(), pos_integer() ) :: t()