> 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.
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.
Wonderful, they re-invented stemming and traditional NLP.
Absolutely! In fact, we were initially strongly biased toward optimizing the current setup. I should have clarified this better in the blog post, but the stemming mismatch was a bug we could have fixed in Postgres, although our Supabase setup made that difficult. The real issue is that Postgres shares one cache across all workloads, so even with a vector index, growing data would keep competing with our hot app data for RAM. Isolating search on a dedicated replica felt like decoupling the database and search anyway. We did the napkin math on the cost and decided to go straight for the specialized solution.