Innodb fulltext search doesn't support altering ft_boolean_syntax
to make queries default to AND instead of OR. This forces boolean
AND matching by prepending + to all words that don't already have
either prefix of '+' or '-'
Refs T146673
Differential D413
Fix InnoDB Fulltext Search: Prepend + to each word in the query mmodell on Oct 13 2016, 8:59 AM. Authored by Tags None Referenced Files
Subscribers
Details
Innodb fulltext search doesn't support altering ft_boolean_syntax Refs T146673 Ran several search queries on my test instance of This patch is also deployed on http://phab-01.wmflabs.org, testing welcome.
Diff Detail
Event TimelineComment Actions Build has FAILED Link to build: https://integration.wikimedia.org/ci/job/phabricator-jessie-diffs/199/ Comment Actions Note: the build failure is because jenkins isn't set up to handle phabricator's unit test suite. The test suite passed in my dev environment. Comment Actions Thanks to @Paladox for switching phab-01 to innodb. I'm reindexing now so searches should actually be hitting the innodb search index now. Comment Actions This change is now cherry-picked on iridium and merged to wmf/stable for the next deploy. |