I'm on rails 4.2, postgres 9.3.4, ruby 2.2.1.
I have a Merchant table. Each merchant has a name. I regularly need to fuzzy match big lists of names (>500) to this merchant table. I'm currently using the fuzzily gem for this.
However the gem only lets me fuzzy search for one possible match at a time. This is way too slow for my application.
Is there a way, preferably using something built into postgres, to batch the queries so I can search for them all in one query?