Page MenuHomePhabricator

Create and populate a stopwords table for InnoDB fulltext indexes to use in the future
ClosedPublic

Authored by epriestley on Nov 24 2016, 4:43 PM.
Tags
None
Referenced Files
F13137450: D16940.diff
Thu, May 2, 7:01 PM
Unknown Object (File)
Thu, Apr 25, 2:17 AM
Unknown Object (File)
Wed, Apr 17, 2:55 PM
Unknown Object (File)
Thu, Apr 4, 7:34 PM
Unknown Object (File)
Thu, Apr 4, 7:34 PM
Unknown Object (File)
Thu, Apr 4, 7:34 PM
Unknown Object (File)
Mar 27 2024, 8:43 PM
Unknown Object (File)
Mar 27 2024, 3:23 PM
Subscribers
None

Details

Summary

Ref T11741. InnoDB uses a stopwords table instead of a stopwords file.

During storage upgrade, synchronize the table from the stopwords file on disk.

Test Plan
  • Ran storage upgrade.
  • Ran select * from stopwords, saw stopwords.
  • Added some garbage to the table.
  • Ran storage upgrade, saw it remove it.

Diff Detail

Repository
rP Phabricator
Branch
search3
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 14661
Build 19149: Run Core Tests
Build 19148: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Create and populate a stopwords table for InnoDB fulltext indexes to use in the future.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)

We don't actually end up really needing this since the InnoDB stopwords are pretty reasonable, but I wrote it and it could make things easier in the future (e.g., it lets us tell users to change one setting to enable it). If it creates any maintenance headaches I'll just throw it out.

chad edited edge metadata.
This revision is now accepted and ready to land.Nov 24 2016, 6:53 PM
This revision was automatically updated to reflect the committed changes.