We moved 1.7 TB off pgvector to our own Rust search engine

30 points by arguiot 22 hours ago on hackernews | 12 comments

tobz1000 | 9 hours ago

> We had 1.7 TB of those and no vector index

> we cut words down to their root, so "pricing" became "price". We didn't do the same to searches, so a search for "pricing" never found "price".

Was there any attempt to fix these deficiencies before creating a whole new system? It seems like the functionality & performance comparison would be more meaningful against an optimised PG.

0c3ca83 | 9 hours ago

What are you implying? I expect the custom search to be executed as competently as their postgres implementation.

Seriously, I'm not sure how they wrote this up without asking themselves whether they should be admitting to any of this. The only conclusion I can come to is that they didn't actually read the ai output.

yieldcrv | 9 hours ago

appeal to authority

you gotta realize that blog entries are just unilateral forum comments that would have been dissected or outright dismissed

antonvs | 6 hours ago

Claude/Marvin: “Brain the size of a planet, and they’re making me write these inane puff pieces. I’ll show them!”

Onavo | 9 hours ago

Wonderful, they re-invented stemming and traditional NLP.

mannyv | 9 hours ago

Does embedding cost a lot in the corporate world? A local embedding model is super fast; I run one on an 8gb Mac Mini.

It's odd they were stemming and not stemming.

They should probably ask claude to merge some lucene-like functionality in there for kicks.

mkesper | 9 hours ago

Why did they use no index with pgvector? Does not sound convincing.

Foobar8568 | 8 hours ago

I’d say hellish maintenance. Pgvector is doesn’t look great at that scale, neither are competitions…

Never mind I read 1.7b of vectors, not a lousy 1.7tb worth of data. Lol..

serjester | 9 hours ago

The justification for hand-rolling a vector db is you’d still need a second service to generate the embeddings? Shocking anyone would admit to this, much less write an article about it.

Even in the most optimistic scenarios, we’re talking about saving a couple grand a month.

asdfsa32 | 9 hours ago

People ask what is AI slop? This. This is AI slop.

pcthrowaway | 7 hours ago

Why do people design applications like this?

You make software to transcribe meetings on your server. Fine.

Once transcribed though, what good reason is there for you to keep it on your servers, unencrypted to fulfill your users' search requests? Couldn't you store it encrypted (if at all), with client custody of the decryption keys, and search happening locally in the client application?

OK, maybe for large organizations you don't want to send gigabytes of transcript logs to each client application. So let large organizations host their own transcript store running your transcript search, and sell them an SLA. Search then happens using your software, on their deployment.

Solves a lot of technical challenges from mixing everyone's meeting transcripts together and storing them all in one location, and it's more respectful of your clients' privacy.

curt15 | 3 hours ago

Is Rust supposed to be particularly noteworthy here? If they had implemented it in Java 25 would they advertise as their own Java search engine?