ES 遇到的坑

  1. string 类型若是不指定 not_analyzed ,默认会分词。当检索完整字符串时候没法检索到。orm

  2. 时间类型要指定 'type' => 'date', 'format' => 'yyyy-MM-dd HH:mm:ss' 
    字符串

相关文章
相关标签/搜索