# `Exograph.InvertedIndex.Postgres`
[🔗](https://github.com/elixir-vibe/exograph/blob/v0.2.0/lib/exograph/inverted_index/postgres.ex#L1)

Postgres/ParadeDB candidate retrieval backend implemented with Ecto queries.

Structural lookups use the `terms integer[]` GIN index. Term strings are
normalized to integer IDs in the terms table before querying.

# `t`

```elixir
@type t() :: %Exograph.InvertedIndex.Postgres{
  package: Exograph.Package.t() | nil,
  package_version: Exograph.PackageVersion.t() | nil,
  prefix: String.t(),
  repo: module()
}
```

# `resolve_term_ids`

# `search_callees`

# `search_callers`

# `search_comments`

# `search_definitions`

# `search_references`

# `search_text`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
