Skip to content

Instantly share code, notes, and snippets.

@extralam
Created June 25, 2021 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save extralam/944ed5000c390865eb002b4ac03e1b12 to your computer and use it in GitHub Desktop.
Save extralam/944ed5000c390865eb002b4ac03e1b12 to your computer and use it in GitHub Desktop.
MySQL FULL TEXT SEARCH 中文字 要加ngram
ALTER TABLE bu_translates ADD FULLTEXT (`content`) WITH PARSER ngram;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment