Skip to content

zombodb

Elasticsearch-backed full-text search and indexing for PostgreSQL

zombodb · Elasticsearch-backed full-text search and indexing for PostgreSQL

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
100014zombodbzombodb3000.2.8FTSApache-2.0Rust

PostgreSQL · 12, 13, 14, 15

Relationships
Requiresplpgsql

Usage

Sources:

zombodb implements a PostgreSQL index access method backed by Elasticsearch. It synchronously manages the remote index and exposes the ==> search operator while preserving PostgreSQL transaction visibility:

CREATE EXTENSION zombodb;

CREATE TABLE products (
  id bigserial PRIMARY KEY,
  name text NOT NULL,
  description zdb.fulltext
);

CREATE INDEX products_zdb_idx
  ON products
  USING zombodb ((products.*))
  WITH (url = 'http://elasticsearch.example.net:9200/');

SELECT *
FROM products
WHERE products ==> 'name:keyboard';

Archived status and operational risk

The repository is archived. Its final control version 3000.2.8 documents PostgreSQL 12 through 15 and Elasticsearch 7.10 or later. It supports only one ZomboDB index per table, not partial indexes or CREATE INDEX CONCURRENTLY. Writes synchronously round-trip to Elasticsearch, so network or Elasticsearch failures abort the PostgreSQL transaction. Never modify ZomboDB-managed indexes externally, and account for the remote copy storing whole rows plus analyzed terms. Treat this as legacy infrastructure and plan migration before upgrading either dependency.

Table reader