1.exists 仅展示存在该字段且值不为空的数据 ,用法举例
{
"query": { "bool": { "must": { "exists":{ "field":"insert_time" } } } } }
2._source,展示指定的字段
只展示数据的domain和md5字段
"_source":["domain","md5"]
1.exists 仅展示存在该字段且值不为空的数据 ,用法举例
{
"query": { "bool": { "must": { "exists":{ "field":"insert_time" } } } } }
2._source,展示指定的字段
只展示数据的domain和md5字段
"_source":["domain","md5"]
转载于:https://www.cnblogs.com/paopao123/p/10842898.html