NOTE: this should only be done once wmf/1.38.0-wmf.18 is on production so that the synonyms optimisation patch is available
In order to make sure that synonyms search doesn't negatively affect searching
* run [[ https://github.com/cormacparle/media-search-signal-test/blob/master/jobs/AnalyzeResults.php | AnalyzeResults.php ]] locally, using the commons search api endpoint with `mediasearch_synonyms` set, to prepopulate the caches
* run [[ https://github.com/cormacparle/media-search-signal-test/blob/master/jobs/AnalyzeResults.php | AnalyzeResults.php ]] again twice - once with `mediasearch_synonyms` set and once without, and paste the results in a comment. Also gather data for response times (stored in `resultset.searchExecutionTime_ms`) when the synonyms profile is on/off and paste here (e.g. median response time, average response time of slowest 10% of calls, average response time of fastest 10% of calls)
If neither precision@25 nor response times are significantly worse, then we can make search-with-synonyms default on commons. If that's the case, create a new ticket to turn on the config. If not, discuss next steps in the comments.