Title: Hey HN! We&#x27;re Phil and Ming, co-founders of Retake (<a href="https:&#x2F;&#x2F;github.com&#x2F;getretake&#x2F;retake">https:&#x2F;&#x2F;github.com&#x2F;getretake&#x2F;retake</a>). Retake is an open source tool that adds keyword and semantic (i.e hybrid) search to databases. We’ve started by extending the capabilities of Postgres with an SDK for lightning-fast queries.<p>We built Retake to fix two issues: keeping vectors in sync with Postgres in real time is difficult, and most vector databases aren’t built for hybrid search.<p>A quick refresher: “keyword search” refers to a technique where results are scored based on the appearance of exact words or terms. “Semantic search” uses vector embeddings to understand the meaning behind those words. Hybrid search combines these two approaches to enhance the precision and relevance of results.<p>To implement semantic or hybrid search today, most organizations run batch jobs that update their search engine or vector database using ETL tools or custom data pipelines. We’ve seen from firsthand experience how time-consuming and costly this can be, as moving vectors often requires re-embedding the entire data source.<p>We’ve also seen how many vector databases lack crucial features of “traditional” search: keyword-based (BM25) search, faceting&#x2F;aggregations, highlighting, efficient filtering, etc.<p>Here’s how Retake works - our core is built on top of OpenSearch, which acts as a search engine and vector database. We leverage logical-replication-based Change Data Capture (CDC) to stay in sync with Postgres, so documents and vectors are updated incrementally and in real time. Finally, Python and Typescript SDKs make it easy to integrate Retake into your application. There’s no need to manage separate vector databases and search engines, upload and embed documents, or run expensive reindexing jobs. All you need to think about is writing search queries.<p>The easiest way to get started with Retake is by running our Docker Compose stack:<p><pre><code>  git clone https:&#x2F;&#x2F;github.com&#x2F;getretake&#x2F;retake.git
  cd retake&#x2F;docker &amp;&amp; docker compose up
</code></pre>
Retake is Apache licensed and our repo is here: <a href="https:&#x2F;&#x2F;github.com&#x2F;getretake&#x2F;retake">https:&#x2F;&#x2F;github.com&#x2F;getretake&#x2F;retake</a>. For next steps, see our quick start guide: <a href="https:&#x2F;&#x2F;docs.getretake.com&#x2F;quickstart">https:&#x2F;&#x2F;docs.getretake.com&#x2F;quickstart</a><p>We’d love your feedback on our solution to hybrid search. Our focus right now is on nailing the basics, but we’d also love to hear what you think we should focus on next.
Upvote: