Tips: workarounds to do free full-text search on Heroku :-)

Recently I started a new side-project, using some full-text search
done with Solr, intending to put it on Heroku. However, I had
forgotten that Heroku doesn't allow any Solr for free! So I ripped it
out and looked for alternatives, winding up with pg_search. I ran up
against some problems, but figured out some workarounds, and wrote
them up in a two-part blog post:


Share And Enjoy!