View Source AhoCorasearch.Tree (AhoCorasearch v0.1.0)

Summary

Types

@type match_kind() :: :leftmost_longest | :leftmost_first | :standard
@type t() :: %AhoCorasearch.Tree{
  dups: %{required(integer()) => [integer()]},
  insensitive: boolean(),
  match_kind: match_kind(),
  ref: binary(),
  tree_ref: reference(),
  unique: boolean()
}

Functions

See AhoCorasearch.TreeBuilder.new/2.

Link to this function

search(tree, string, opts \\ [overlap: false, word_search: false])

View Source