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
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)
Wed, Mar 27, 8:43 PM
Unknown Object (File)
Wed, Mar 27, 3:23 PM
Unknown Object (File)
Tue, Mar 26, 7:14 PM
Unknown Object (File)
Mar 10 2024, 3:43 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.