Page MenuHomePhabricator

Use PhutilQueryCompiler in Phabricator fulltext search
ClosedPublic

Authored by epriestley on Nov 24 2016, 4:23 PM.
Tags
None
Referenced Files
F15508751: D16939.id40772.diff
Wed, Apr 16, 6:17 AM
F15470961: D16939.id40782.diff
Sat, Apr 5, 2:19 AM
F15448172: D16939.id40782.diff
Fri, Mar 28, 3:21 AM
F15446625: D16939.id40782.diff
Thu, Mar 27, 7:38 PM
F15446624: D16939.id40772.diff
Thu, Mar 27, 7:38 PM
F15446622: D16939.id.diff
Thu, Mar 27, 7:38 PM
F15443206: D16939.id40782.diff
Thu, Mar 27, 3:02 AM
F15442523: D16939.diff
Wed, Mar 26, 11:46 PM
Subscribers
None

Details

Summary

Ref T11741. Fixes T10642. Parse and compile user queries with a consistent ruleset, then submit queries to the backend using whatever ruleset MySQL is configured with.

This means that ft_boolean_syntax no longer needs to be configured (we'll just do the right thing in all cases).

This should improve behavior with RDS immediately (T10642), and allow us to improve behavior with InnoDB in the future (T11741).

Test Plan
  • Ran various queries in the UI, saw the expected results.
  • Ran bad queries, got useful errors.
  • Searched threads in Conpherence.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad edited edge metadata.
chad added inline comments.
src/applications/config/check/PhabricatorMySQLSetupCheck.php
251

imgres.jpg (183×275 px, 23 KB)

This revision is now accepted and ready to land.Nov 24 2016, 4:45 PM

Sadly I'm about to add just as much garbage back for the InnoDB options, but it's at least slightly less arcane.

This revision was automatically updated to reflect the committed changes.