Prompt
what should I use if I need search sync from Postgres?
Latest observation
Oct 12, 2026
OpenAI APIWeb search: off
If you need search synced from Postgres, the usual choices are:
1) Elasticsearch / OpenSearch
Best when you need:
- full-text search
- filtering + faceting
- relevance ranking
- autocomplete / typo tolerance
- larger-scale search workloads
Sync options from Postgres:
- Debezium + Kafka + Elasticsearch/OpenSearch sink
- Logical decoding / CDC
- application-level dual writes or async workers
- tools like pgsync, Airbyte, Fivetran, etc.
2) Postgres full-text search
Best when you want:
- simpler architecture
- fewer moving parts
- moderate search needs
- tight consistency with the DB
Use:
tsvector- GIN indexes
tsquery
This is often enough if you don’t need advanced search features.
3) Meilisearch / Typesense / Algolia
Best when you want:
- easy setup
- fast developer experience
- simple search UI needs
- less operational complexity than Elasticsearch
These also usually sync from Postgres via:
- CDC pipeline
- cron/job-based sync
- app-side event handling
My rule of thumb
- Simple internal search → Postgres FTS
- Serious search at scale → OpenSearch/Elasticsearch
- Fast setup / great DX → Meilisearch or Typesense
- Hosted managed search → Algolia
If you want, I can recommend the best option based on your exact use case:
- data size
- search features needed
- update frequency
- budget / ops tolerance