mysql global index

 

SHOW VARIABLES LIKE '%ft_min_word_len%' Minimum search word length limit

 

It is best to use the myisam engine, which is not supported by Alibaba Cloud

 

REPAIR TABLE `post` QUICK to quickly rebuild the index (after the global index is reset to min_word, the index needs to be rebuilt)

 

search statement

select * from bbtu2.post where match(title_index) against('Romantic') 

 

Pinyin

<dependency>

<groupId>com.github.stuxuhai</groupId>

<artifactId>jpinyin</artifactId>

<version>1.0</version>

</dependency>

Participle

<!-- https://mvnrepository.com/artifact/com.janeluo/ikanalyzer -->

<dependency>

   <groupId>com.janeluo</groupId>

   <artifactId>ikanalyzer</artifactId>

   <version>2012_u6</version>

</dependency>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326227258&siteId=291194637