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

es 8.5X版本无法建立mapping #281

Open
linjuchen opened this issue Dec 16, 2022 · 1 comment
Open

es 8.5X版本无法建立mapping #281

linjuchen opened this issue Dec 16, 2022 · 1 comment

Comments

@linjuchen
Copy link

{"settings":{"max_result_window":1000000000,"analysis":{"analyzer":{"pinyin_analyzer":{"tokenizer":"my_pinyin"}},"tokenizer":{"my_pinyin":{"type":"pinyin","keep_separate_first_letter":true,"keep_full_pinyin":true,"keep_original":false,"limit_first_letter_length":16,"lowercase":true,"remove_duplicated_term":true}}}},"mappings":{"properties":{"id":{"type":"integer","index":true},"sn":{"type":"text","index":true},"account":{"type":"text","index":true},"name":{"type":"text","fields":{"pinyin":{"type":"text","store":false,"term_vector":"with_offsets","analyzer":"pinyin_analyzer","boost":10}}},"wx_logo":{"type":"text","index":false},"wx_nickname":{"type":"text","index":false},"status":{"type":"integer","index":true},"id_num":{"type":"text","index":true},"biz_id":{"type":"text","index":true},"email":{"type":"text","index":true},"check_status":{"type":"integer","index":true},"is_del":{"type":"integer","index":true},"last_login_date":{"type":"date","index":true,"format":"yyyy-MM-dd HH:mm:ss"},"created_at":{"type":"date","index":true,"format":"yyyy-MM-dd HH:mm:ss"},"updated_at":{"type":"date","index":true,"format":"yyyy-MM-dd HH:mm:ss"}}}}

报错!

@xuanyuanbao
Copy link

兄弟,你这个是使用的哪个版本啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants