Docs/ELK/es的mapping中text与keyword的区别
2022-10-18 16:59:37 +08:00

4 lines
No EOL
272 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

keyword不分词整个存入es中。默认时256个字符
text内容会进行分词。先分词再存入es中当使用多个单词精心查询时查不到已经分词的内容
举例说明存储小说时小说名及作者名可以不分词存入es中