how the elasticsearch seprate words by :

Elasticsearch version: "2.3.1"

Plugins installed: [null]

JVM version:"1.8.0_65"

OS version: "CentOS Linux release 6.2 (Final)"

Description of the problem including expected versus actual behavior:

Steps to reproduce:
1.import this message "tody we go to gdeliveryd: debug:DS::MidasFailInfo:ret=0" in ES
2.search
3.when i search use MidasFailInfo:ret ,it returns normally;
bu when i use part of this words , such as use MidasFailInfo ,it returns empty

i want it returns normally when i search "MidasFailInfo" ,thx

阅读 3.2k
1 个回答

first, edit your index mapping, use customized tokenizer. then reindex your document.

About mapping, see govern document with your elasticsearch version.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进