string 类型如果不指定 not_analyzed ,默认会分词。当检索完整字符串时候无法检索到。
时间类型要指定 'type' => 'date', 'format' => 'yyyy-MM-dd HH:mm:ss'
转载于:https://my.oschina.net/u/2544857/blog/600489
string 类型如果不指定 not_analyzed ,默认会分词。当检索完整字符串时候无法检索到。
时间类型要指定 'type' => 'date', 'format' => 'yyyy-MM-dd HH:mm:ss'
转载于:https://my.oschina.net/u/2544857/blog/600489