Vibe.Storage.Search.Result (vibe v0.2.0)

Copy Markdown View Source

Typed FTS search result with ranking and snippets.

Summary

Types

source()

@type source() :: :session | :memory

t()

@type t() :: %Vibe.Storage.Search.Result{
  at: DateTime.t() | nil,
  id: String.t(),
  metadata: map(),
  owner_id: String.t() | nil,
  rank: number() | nil,
  snippet: String.t() | nil,
  source: source(),
  text: String.t(),
  title: String.t() | nil
}