1、查看所有索引 GET _cat/indices 2、创建一个新的索引 PUT /test { "mappings": { "_doc": { "properties": { "id": {"type": "keyword"}, "title": {"type": "keyword"}, "esD ...
分类:
其他好文 时间:
2021-06-21 21:11:29
阅读次数:
0
dockerfile就是用来构建docker镜像的构建文件 写入命令脚本 通过这个脚本可以生成镜像,镜像是一层一层的,脚本一个个的命令,每个命令都是一层 [root@iZmu0fa4hv0jwzZ home]# mkdir docker-test-volume [root@iZmu0fa4hv0jw ...
分类:
其他好文 时间:
2021-06-21 20:36:25
阅读次数:
0
import 'dart:io' as Io; import 'package:image/image.dart'; void main() { // Read a jpeg image from file. Image image = decodeImage(new Io.File('test.j ...
分类:
其他好文 时间:
2021-06-21 20:21:50
阅读次数:
0
1、创建topic 使用 kafka-topics.sh脚本 kafka-topics.sh --create --partitions 3 --replication-factor 2 --topic test --zookeeper hadoop01:2181,hadoop02:2181,had ...
分类:
其他好文 时间:
2021-06-20 18:38:22
阅读次数:
0
有时候,我们想要查找Python安装路径及第三方库的存放路径,但可能忘记了当初安装时的具体路径,这个时候我们就可以通过命令快速找到这些路径。 查找Python安装路径 Windows下查找命令:where python3 D:\>where python3 D:\Python\installatio ...
分类:
编程语言 时间:
2021-06-20 18:12:11
阅读次数:
0
创建本地定时任务(注意修改时间) schtasks /create /sc once /tn testtask02 /tr "calc.exe" /sd 2021/06/19 /st 19:07 创建远程计算机的定时任务 schtasks /s 192.168.200.20 /u abking /p ...
分类:
其他好文 时间:
2021-06-20 17:44:36
阅读次数:
0
1、四大核心函数式接口 接口类型 表现形式 实现方法 说明 消费性接口 Consumer<T> void accept<T t> 参数为 t,无返回值 供给型接口 Supplier<T> T get() 无参数,返回值类型为 T 函数型接口 Function<T,R> R apply(T t) 参数 ...
分类:
编程语言 时间:
2021-06-20 17:43:37
阅读次数:
0
配置vscode auto save afterDelay 安装 npm install -g nodemon --registry=https://registry.npm.taobao.org 运行 // node test.js nodemon test.js ...
分类:
Web程序 时间:
2021-06-19 19:17:14
阅读次数:
0
通过页表完成虚拟地址和物理地址的映射时,要经过多次转换,还要进行计算,如果由操作系统来完成这项工作,那将会成倍降低程序的性能,得不偿失,所以这种方式是不现实的。 MMU 在CPU内部,有一个部件叫做MMU(Memory Management Unit,内存管理单元),由它来负责将虚拟地址映射为物理地 ...
分类:
编程语言 时间:
2021-06-18 20:12:19
阅读次数:
0