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)
Tue, Dec 17, 5:19 AM
Unknown Object (File)
Nov 18 2024, 9:51 PM
Unknown Object (File)
Nov 9 2024, 5:37 PM
Unknown Object (File)
Nov 9 2024, 4:58 PM
Unknown Object (File)
Oct 24 2024, 4:38 AM
Unknown Object (File)
Oct 21 2024, 5:09 PM
Unknown Object (File)
Oct 20 2024, 10:03 AM
Unknown Object (File)
Oct 20 2024, 1:40 AM
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.