Elasticlunr.Token (Elasticlunr v0.1.1) View Source

Link to this section Summary

Link to this section Types

Specs

t() :: %Elasticlunr.Token{metadata: map(), token: binary()}

Link to this section Functions

Specs

get_position(t()) :: {integer(), integer()} | nil
Link to this function

new(token, metadata \\ %{})

View Source

Specs

new(binary(), map()) :: t()

Specs

update(t(), keyword()) :: t()