If I voted for a thousand synonyms should the database query be 100 lines long?