Page MenuHomePhabricator

Use PhutilQueryCompiler in Phabricator fulltext search
ClosedPublic

Authored by epriestley on Nov 24 2016, 4:23 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 12:33 AM
Unknown Object (File)
Fri, Dec 20, 9:49 AM
Unknown Object (File)
Thu, Dec 19, 3:19 AM
Unknown Object (File)
Thu, Dec 19, 3:19 AM
Unknown Object (File)
Thu, Dec 19, 3:14 AM
Unknown Object (File)
Thu, Dec 19, 3:03 AM
Unknown Object (File)
Tue, Dec 17, 5:19 AM
Unknown Object (File)
Nov 18 2024, 9:51 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.