Page MenuHomePhabricator

Use PhutilQueryCompiler in Phabricator fulltext search
ClosedPublic

Authored by epriestley on Nov 24 2016, 4:23 PM.
Tags
None
Referenced Files
F14347808: D16939.id40772.diff
Thu, Dec 19, 3:19 AM
F14347805: D16939.id40782.diff
Thu, Dec 19, 3:19 AM
F14347780: D16939.id.diff
Thu, Dec 19, 3:14 AM
F14347518: D16939.diff
Thu, Dec 19, 3:03 AM
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
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
Branch
search2
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14660
Build 19147: Run Core Tests
Build 19146: arc lint + arc unit

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.