AlistGo / AlistGo/alist

use ngram parser for full-text index

オープン
#4,998 コメント 4 件 リアクション 1 件 担当者 0 名 GitHub で見る
accepted enhancement
主要言語
Go
スター
50.2k
フォーク
7.9k
平均マージ
7日 21時間
マージ済み PR(30日)
6

説明

### Please make sure of the following things

- [X] I have read the [documentation](https://alist.nn.ci).
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.

### Description of the feature / 需求描述

Use the `ngram` parser for full-text indexing in versions 5.7 and newer

### Suggested solution / 实现思路

```sql
CREATE FULLTEXT INDEX idx_search_nodes_name ON search_nodes(name) WITH PARSER ngram;
```

### Additional context / 附件

- https://dev.mysql.com/doc/refman/5.7/en/fulltext-search-ngram.html
- https://dev.mysql.com/doc/refman/8.0/en/fulltext-search-ngram.html
- https://dev.mysql.com/doc/refman/8.1/en/fulltext-search-ngram.html

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。