Better HN
topnewbestaskshowjobs
Log inSign up

usetrigram

2 karma · joined May 22, 2015 (11y ago) · 1 submissions

Submissions

comment 11y ago · link · parent

If you're using PostgreSQL you can just use a trigram index for these kinds of searches.

- http://www.postgresql.org/docs/current/interactive/pgtrgm.ht...

- https://swtch.com/~rsc/regexp/regexp4.html