![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
elasticsearch
QC__
这个作者很懒,什么都没留下…
展开
-
elasticsearch查询某个字段为空值的结果
传统sql查询返回某个字段为空值的结果写法是 select * from 表名 where 字段名 is null 在elasticsearch中查询语句为GET index/txt/_search{ "query" : { "bool" : { "must_not": { "exists" : { ...转载 2018-05-16 10:32:15 · 77992 阅读 · 8 评论 -
Elasticsearch数据导出Excel Python实现
依赖环境: pip install elasticsearch openpyxl代码如下:#!/usr/bin/env python3# -*- coding: utf-8 -*-# @Author : QC# @Date : 2018/12/15 11:08# @desc : 导出es指定index, type的数据到excelfrom elasticse...原创 2018-12-15 12:02:56 · 3500 阅读 · 1 评论