![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ElasticSearch
JackyPu_1992
这个作者很懒,什么都没留下…
展开
-
python ElasticSearch Setting max_result_window
es = Elasticsearch([]) es.indices.put_settings(index='event', body={'index':{ 'max_result_window':500000}}) 以上代码设置了窗口最大显示数据条数为500000; 条件查询中,同字段多值...原创 2018-11-06 09:04:21 · 1912 阅读 · 1 评论 -
python ElasticSearch 组合查询
{ "query": { "bool": { "must": { "match": { "title": "quick" }}, "must_not": { "match": { "title": "lazy" }}, "should&quo原创 2018-11-06 17:53:20 · 2269 阅读 · 0 评论 -
python elasticsearch 分组统计
聚合(Aggregations): query = { "query": { "bool": { "must": [ {"term": {"company_id": company_id}}, ...原创 2018-12-03 11:26:50 · 2946 阅读 · 0 评论 -
elasticsearch聚合
from elasticsearch import Elasticsearch import time def query_day(): query = { "query":{ "bool":{ "must":{ "range":{ "p...原创 2019-01-02 18:00:03 · 127 阅读 · 0 评论 -
windows下安装java_se和elasticsearch
1、安装java_se:http://www.cnblogs.com/lqyy/p/9385796.html 2、安装elasticsearch:https://www.cnblogs.com/gangle/p/9328257.html原创 2019-04-24 14:48:44 · 184 阅读 · 0 评论 -
elasticsearch sort 、index、search、delete
1、sort:http://www.cnblogs.com/shaosks/p/7542076.html 2、index search delete:https://blog.csdn.net/weixin_42126327/article/details/81285487原创 2019-04-24 14:52:02 · 142 阅读 · 0 评论 -
elasticserach7.0.0配置Ip
1、bin文件夹下的elasticsearch.bat启动(windows) 2、config文件夹下的elasticsearch.yml文件内修改network.host, 后者为本机ip, 并且要放开划红线的两行。 3、配置完成后如果其他电脑出现无法访问的问题,有可能是防火墙进行了拦截。 另外, 如果elasticsearch出现闪退等问题,可以去logs文件夹下查看打印的错误日志 ...原创 2019-04-25 15:06:21 · 955 阅读 · 0 评论