摘要:
请求resful: GET 请求:http://119.91.127.xxx:9200/myuser/_search 请求方式: json { "query": { "match_all": {} } } 阅读全文
posted @ 2022-02-14 17:11
八股文研究生
阅读(111)
评论(0)
推荐(0)
摘要:
1、创建doc 请求resful: POST 请求:http://119.91.127.xxx:9200/student1/_doc/2 请求方式:json { "title": "华为手机", "category": "华为", "images": "http://www.gulixueyuan. 阅读全文
posted @ 2022-02-14 17:08
八股文研究生
阅读(56)
评论(0)
推荐(0)
摘要:
1、创建索引 请求resful:PUT 请求:http://119.91.127.xxx:9200/student1 请求方式:json { "settings": {}, "mappings": { "properties": { "name": { "type": "text", "index" 阅读全文
posted @ 2022-02-14 17:02
八股文研究生
阅读(81)
评论(0)
推荐(0)
摘要:
1、下载安装包 Elasticsearch 的官方地址:https://www.elastic.co/cn/downloads/elasticsearch 1、liunx下载安装包 点击查看代码 进入/home/fch/module wget https://artifacts.elastic.co 阅读全文
posted @ 2022-02-14 16:53
八股文研究生
阅读(164)
评论(0)
推荐(0)
摘要:
提供zip压缩解压并且设置密码 POM引入 点击查看代码 <dependency> <groupId>net.lingala.zip4j</groupId> <artifactId>zip4j</artifactId> <version>1.3.2</version> </dependency> 代 阅读全文
posted @ 2022-02-14 16:11
八股文研究生
阅读(493)
评论(0)
推荐(0)
摘要:
提供zip的压缩与解压 点击查看代码 package com.fch.demo.utiils; import java.io.*; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; imp 阅读全文
posted @ 2022-02-14 16:06
八股文研究生
阅读(109)
评论(0)
推荐(0)
摘要:
提供base64文本互转,文件和base64互转 点击查看代码 package com.fch.demo.utiils; import cn.hutool.core.date.DateUtil; import org.springframework.stereotype.Component; imp 阅读全文
posted @ 2022-02-14 16:02
八股文研究生
阅读(481)
评论(0)
推荐(0)

浙公网安备 33010602011771号