Home > database >  Mysql article fuzzy query problem
Mysql article fuzzy query problem

Time:10-27

I have a card table, according to user's query words to fuzzy query the database, the title has, for example, China, the United States, Japan, the [Chinese], I search queries to China and the United States, as long as all the query with the words in the search box to search box for more than words can be ignored, query contains only, then according to the content of the query to the matching similarity sorting, how to achieve this

CodePudding user response:

Cut the search box content, unit fuzzy search for each word

CodePudding user response:

The content of the search box with word segmentation points out
  • Related