摘要: ## 1.DSL查询文档 1.1.DSL查询分类 ## 1.1.DSL查询分类 Elasticsearch提供了基于JSON的DSL([Domain Specific Language](https://www.elastic.co/guide/en/elasticsearch/reference/ 阅读全文
posted @ 2022-05-22 23:49 year12 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 1. 索引库操作 1.1 mapping映射属性 mapping是对索引库中文档的约束,常见的mapping属性包括: - type:字段数据类型,常见的简单类型有: - 字符串:text(可分词的文本)、keyword(精确值,例如:品牌、国家、ip地址) - 数值:long、integer、sh 阅读全文
posted @ 2022-05-21 17:59 year12 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 1. 创建映射目录 mkdir -p /Users/year12/dockerMsg/elasticsearch/config mkdir -p /Users/year12/dockerMsg/elasticsearch/datamkdir -p /Users/year12/dockerMsg/el 阅读全文
posted @ 2022-05-21 17:46 year12 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 在spring boot中有时候需要控制配置类是否生效,可以使用@ConditionalOnProperty注解来控制@Configuration是否生效. @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, Element 阅读全文
posted @ 2022-03-25 16:25 year12 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 谷歌插件: fehelper(前端助手) Simple Allow Copy (允许在每个网站上复制文本,针对一些网站无法右击复制设计。) Auto Refresh Plus | Page Monitor (使用强大的页面监控功能自动刷新页面) Windows: listary (搜索利器 http 阅读全文
posted @ 2022-01-25 10:08 year12 阅读(32) 评论(0) 推荐(0) 编辑
摘要: 安装方法 如果是jdk11可能会报错找不到主类 把文件中todo的地方替换一下就好了 #!/bin/bash # Copyright 1999-2018 Alibaba Group Holding Ltd. # Licensed under the Apache License, Version 2 阅读全文
posted @ 2021-12-07 16:38 year12 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 下载地址 https://maven.apache.org/download.cgi tar -zxvf apache-maven-3.8.4-bin.tar.gz vim /etc/profile # jdk export JAVA_HOME=/usr/local/jdk1.8.0_152 exp 阅读全文
posted @ 2021-11-30 14:49 year12 阅读(29) 评论(0) 推荐(0) 编辑
摘要: jdk下载地址:https://www.oracle.com/technetwork/java/javase/downloads/index.htm 下载后解压到服务器上。 配置环境变量。 export JAVA_HOME=/usr/local/jdk1.8.0_152 export CLASSPA 阅读全文
posted @ 2021-11-30 14:35 year12 阅读(70) 评论(0) 推荐(0) 编辑
摘要: npm uninstall less-loader 卸载高版本 npm install less-loader@6.2.0 下载低版本 最重要的一点,你重新启动下项目。 阅读全文
posted @ 2021-11-12 00:20 year12 阅读(33) 评论(0) 推荐(0) 编辑
摘要: 安装Helm wget https://get.helm.sh/helm-v3.4.2-linux-amd64.tar.gz tar zxvf helm-v3.4.2-linux-amd64.tar.gz mv linux-amd64/helm /usr/bin/ helm version# 设置国 阅读全文
posted @ 2021-10-10 17:56 year12 阅读(253) 评论(0) 推荐(0) 编辑