|
|
|
|
|
by jordanlewis
2141 days ago
|
|
I'd be happy to work with you to make it happen in CockroachDB if you were so inclined :) I added array inverted index support a little while ago in this PR: https://github.com/cockroachdb/cockroach/pull/45157 A simple full-text search engine would not be too different at the lower levels. |
|
I keep changing my mind on things and still super early on my project still, so far I'm thinking CockroachDB for storing more transactional stuff, inventory, accounts, etc and then use MongoDB for chat, social feeds, logging, etc.
I guess if I implemented my own search logic this way, could then give consistent search experience regardless if what they are searching is in the SQL or noSQL database too.
I guess store things in lowercase too, last I looked CockroachDB didn't have PG's CITEXT but for search lowercase makes sense anyways, but maybe you want to search someone's fist name in support probably enter it lowercase while preserving the original casing for display uses.