Java生成十进制sha字符串DigestUtils.sha512Hex("需要生成sha的字符串");
直接百度搜索 PhantomJS下载地址 竟然搜索不到,记录一下。PhantomJS官方地址: https://phantomjs.org/下载地址: https://phantomjs.org/download.html或者:https://github.com/Medium/phantomjs
Eclipse可以通过很多方式创建Java的工程,如Java、Maven、Gradle等;我们一般关系的是classpath路径是哪里,毕竟使用很多开源库的默认配置文件都是放在classpath下,如log4j等;查看方法:在需要查看的项目使用鼠标右键->Properties选择 Java Build Path
官方文档:Java API [7.4] » Document APIs » Update APIhttps://www.elastic.co/guide/en/elasticsearch/client/java-api/current/java-docs-update.html例子:POST /collect/_doc/123/_update
{
"script" : "ctx._source.b
使用Eclise开发时出错错误:ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to&nbs
jues
2019-10-24 16:00:22
数据
80
ElasticSearch Clients各种编程开发语言的文档APIJava REST Client [7.4] — other versionsJava API [7.4] — other versionsJavaScript API [7.x] — other versionsRuby API [7.x] — other versionsGo API.NET API [7.x] — other versionsPHP API [7.2] — other versionsPerl APIPy
jues
2019-10-21 16:11:46
数据
193
最近在学习elasticsearch,没个好工具测试起来很不方便,还是安装elasticsearch-head好了安装方法: https://github.com/mobz/elasticsearch-head 如果没有安装bzip2和nodejs得先安装 bzip2安装yum install bzip2 nodejs安装参考:CentOS7安装Node.jselasticsearch-head安装git clone 
今天发现CentOS系统中没有npm命令,原来是没有安装Node.js解决方法:curl --silent --location https://rpm.nodesource.com/setup_5.x | bash -
yum install nodejs参考: https://www.jianshu.com/p/4d3082bc72eb
jues
2019-10-21 15:47:23
数据
205
ElasticSearch部署后,默认是本地环境127.0.0.1,下面记录下如何配置到生产环境,如0.0.0.0配置文件:/etc/elasticsearch/elasticsearch.ymlnetwork.host: 0.0.0.0重启服务后出错了。[root@vir-centos7 ~]# systemctl restart elasticsearch.service
Job for elasticsea
jues
2019-10-19 08:46:18
软件
180
一款全能的下载工具,支持下载 HTTP、FTP、BT、磁力链、百度网盘等资源那就是Motrix,而且支持macOS、Windows、Linux(可以相当说是Linux下的迅雷工具)官主地址:https://motrix.app/zh-CN/