Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Nov 5, 2025

Cherry-picked from #57097

…enzer and pinyin filter (#57097)

### What problem does this PR solve?

Support  pinyin tokenizer and filter;
- tokenizer example
``` 
 CREATE INVERTED INDEX TOKENIZER IF NOT EXISTS pinyin_tokenizer
  PROPERTIES
  (
                    "type" = "pinyin",
                    "keep_separate_first_letter" = "false",
                    "keep_full_pinyin" = "true",
                    "keep_original" = "true",
                    "limit_first_letter_length" = "16",
                    "lowercase" = "true",
                    "remove_duplicated_term" = "true"
  );
```
- filter example
```
 CREATE INVERTED INDEX TOKEN_FILTER IF NOT EXISTS pinyin_filter1
  PROPERTIES
  (
                    "type" = "pinyin", 
                    "keep_separate_first_letter" = "false",
                    "keep_full_pinyin" = "true",
                    "keep_original" = "true",
                    "limit_first_letter_length" = "16",
                    "lowercase" = "true",
                    "remove_duplicated_term" = "true"
  );
```
@github-actions github-actions bot requested a review from morrySnow as a code owner November 5, 2025 08:10
@morrySnow morrySnow closed this Nov 6, 2025
@morrySnow morrySnow reopened this Nov 6, 2025
@morrySnow
Copy link
Contributor

run buildall

@github-actions
Copy link
Contributor Author

github-actions bot commented Nov 6, 2025

Possible file(s) that should be tracked in LFS detected: 🚨

The following file(s) exceeds the file size limit: 1048576 bytes, as set in the .yml configuration files:

  • be/dict/pinyin/polyphone.txt

Consider using git-lfs to manage large files.

@github-actions github-actions bot added the lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request label Nov 6, 2025
@morrySnow
Copy link
Contributor

test failed, need pick manually

@morrySnow morrySnow closed this Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lfs-detected! Warning Label for use when LFS is detected in the commits of a Pull Request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants