We're using pg_search something like:
Since we're using the tsvector columns, the against actually isn't used. Setting the against option to an empty string works, but looks kind of weird. And having all of out fields, and their weightings, in here when they're not actually being used seems confusing.
Do you have any suggestions on approaches we could take to solve this? Could we add more conditions to the check in PgSearch::Configuration easily? A quick poke around seemed to yield some pretty gross code. Perhaps specifying against: [:tsvector_tsearch, :tsvector_dmetaphone] might be the most obvious thing to do here, even though it's not really what's happening?
against: [:tsvector_tsearch, :tsvector_dmetaphone]
Any thoughts greatly appreciated!
Cool, thanks for the info! I will try to send a PR if I get a chance, but I'll close this for now.