Elasticlunr.Token (Elasticlunr v0.6.6) 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()