Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Philip's blog #33

Open
p208p2002 opened this issue Dec 29, 2023 · 0 comments
Open

Philip's blog #33

p208p2002 opened this issue Dec 29, 2023 · 0 comments

Comments

@p208p2002
Copy link
Owner

https://blog.philip-huang.tech/?page=elasticsearch-chinese-search-optimize

- tags: Elasticserach 中文搜尋優化 簡繁轉換 同義詞 中文分詞 - date: 2022/07/28

中文與英文的不同
中文與英文的結構不同,英文會使用空白分隔單字,但是中文卻是全部黏在一起

比如說 these is and apple 在預設的analyzer會被分割成

POST _analyze
{
    "analyzer": "standard",
    "text":"there is an apple"
}

而中文 那裡有一顆蘋果 則會被依照每一個字切開

POST _analyze
{
  "analyzer": "standard",
  "text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant