1.新增 test2/user2/1/_create PUT操作{"name":"qiqi","age":17} 2.查询 test2/user2/_search GET{"query":{"match":{"name":"qiqi"}}} 或:test2/user2/1 GET { - "_ind ...
分类:
其他好文 时间:
2021-02-09 12:29:59
阅读次数:
0
refer to: https://stackoverflow.com/questions/24387451/how-can-i-kill-whatever-process-is-using-port-8080-so-that-i-can-vagrant-up/24388281 怎么解决端口被占用的 ...
分类:
其他好文 时间:
2021-02-09 11:56:30
阅读次数:
0
1.查询所有的POST /expert_experts/_search 2.查询记录数量countGET /expert_experts/_count 3.按照条件查询POST expert10_experts/_search{ "query" : { "match" : {"_id":"08d7e ...
分类:
其他好文 时间:
2021-02-08 12:26:24
阅读次数:
0
Search in VS Code for multiple terms? 在搜索框输入下面格式即可。 (word1[\s\S]*word2) | (word2[\s\S]*word1) 文章来源:刘俊涛的博客 欢迎关注公众号、留言、评论,一起学习。 ________________________ ...
分类:
其他好文 时间:
2021-02-05 10:34:11
阅读次数:
0
public SearchResult search(String keyWord, Integer page) { PageRequest pageRequest = PageRequest.of(page - 1, ROWS); //设置分页参数 SearchQuery searchQuery ...
分类:
编程语言 时间:
2021-02-04 12:02:49
阅读次数:
0
操作步骤如下: 前提:已经安装了docker 1.docker search rocketmq 2.docker pull rocketmqinc/rocketmq 3. 创建 mq 配置文件 broker.conf,文件放置到 /opt/rocketmq/conf ,配置如下: brokerClu ...
分类:
其他好文 时间:
2021-02-03 11:08:50
阅读次数:
0
具体报错信息: 1 Whitelabel Error Page 2 This application has no explicit mapping for /error, so you are seeing this as a fallback. 3 4 Mon Feb 01 21:33:07 C ...
分类:
移动开发 时间:
2021-02-02 11:27:59
阅读次数:
0
前面我们介绍了Prometheus的作用和整体的架构,相信大家对Prometheus有了一定的了解。 具体可以查看这篇文章:https://mp.weixin.qq.com/s/QoAs0-AYy8krWTa3HbmJZA 今天着重介绍下如何在项目中将Prometheus用起来,结合漂亮的图表做数据 ...
分类:
编程语言 时间:
2021-02-02 10:53:55
阅读次数:
0
? A common typing error is to place the hands on the keyboard one row to the right of the correct position. So ‘Q’ is typed as ‘W’ and ‘J’ is typed as ...
分类:
其他好文 时间:
2021-02-01 12:19:45
阅读次数:
0
给你一个未排序的整数数组 nums ,请你找出其中没有出现的最小的正整数。O(n)+O(1) 排序 func firstMissingPositive(A []int) int { n := len(A) sort.Ints(A) for i := 1; i <= n; i++ { idx := s ...
分类:
其他好文 时间:
2021-02-01 12:16:54
阅读次数:
0