Repository navigation
⚡ In-Engine Hybrid Search for Drizzle ORM & Postgres (3.2x faster than Elasticsearch, 0 API tokens) #6544
am-mar7
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey Drizzle community! 👋
If you use Drizzle with PostgreSQL, you know the pain of having to spin up and maintain an external Elasticsearch or OpenSearch cluster just to provide hybrid search (vector embeddings + keyword BM25).
We open-sourced PolyVector: an in-engine hybrid search engine that runs 100% inside PostgreSQL and works natively with Drizzle ORM via
sqlraw queries.💡 Why PolyVector + Drizzle?
bge-small-en-v1.5). Zero OpenAI API keys or token costs.db.execute(sql.raw(...)).📊 100k Benchmark vs Elasticsearch 8.x:
Package:
npm install polyvector-searchGitHub: https://github.com/am-mar7/polyvector
All reactions