自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 收藏
  • 关注

转载 Elasticsearch status 429 "es_rejected_execution_exception"

问题当我将数据写入集群时,收到类似于以下内容的错误消息:error":"elastic: Error 429 (Too Many Requests): rejected execution of org.elasticsearch.transport.TransportService$7@b25fff4 on EsThreadPoolExecutor[bulk, queue capac...

2019-05-13 19:37:15 8991

原创 Elasticsearch Examples

1、Nested Exist 查询查看33账号follow_status不存在的用户信息列表curl -X POST "localhost:9200/*/wechat_customer/_search"{ "_source": ["nickname", "openid", "follow_status"], "query": { "filtered":...

2019-03-19 15:49:39 185

原创 Elasticsearch create status 409

插入一条数据到wechat_customer (字段有 openid,nickname,subscribe,sex 等),报下列错误:Array( [errorMessage] => {"error":{"root_cause":[{"type":"document_already_exists_exception","reason":"[wechat_customer][o

2019-03-18 12:08:09 3422

原创 Elasticsearch update status 404

当粉丝关注公众号,我们会把粉丝数据先存入mysql,然后同步到elasticsearch;开发中遇到更新elasticsearch文档不成功的问题,查看log,发现报404错误,错误type为document_missing_exception。去elasticsearch官网查看了Update API文档,发现了可以解决此问题的两个适用的参数,一个是upsert,另一个是doc_as_upser...

2019-03-17 10:45:42 2087

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除