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