会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
心动如雷
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2019年7月30日
安装apoc插件
摘要: APOC是Neo4j 3.3版本推出时推荐的一个Java存储过程包,包含丰富的函数和存储过程,作为对Cypher所不能提供的复杂图算法和数据操作功能的补充,APOC还具有使用灵活、高性能等优势。 1、jar包地址: https://github.com/neo4j-contrib/neo4j-apo
阅读全文
posted @ 2019-07-30 17:31 心动如雷
阅读(2422)
评论(0)
推荐(0)
2019年7月29日
transport方式连接Elasticsearch6.2.3
摘要: 连接ES有3中方式: ①transport方式 ②rest方式 ③JEST方式(第三方) 我自己项目使用第一种方式,代码和配置如下: 1、引入依赖 <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elasticsearch<
阅读全文
posted @ 2019-07-29 15:52 心动如雷
阅读(1865)
评论(0)
推荐(0)
2019年7月25日
ElasticSearch6.3脚本更新
摘要: 使用上篇文章创建的索引进行学习:https://www.cnblogs.com/wangymd/p/11200996.html 官方文档:https://www.elastic.co/guide/en/elasticsearch/painless/6.3/painless-examples.html
阅读全文
posted @ 2019-07-25 17:40 心动如雷
阅读(1405)
评论(0)
推荐(0)
ES索引操作
摘要: 1、创建测试索引 PUT /test_index{ "mappings": { "test_type":{ "properties": { "code":{ "type": "keyword" }, "name":{ "type": "text", "analyzer": "ik" }, "coun
阅读全文
posted @ 2019-07-25 15:24 心动如雷
阅读(3586)
评论(0)
推荐(0)
2019年7月17日
Nginx解决前端调用后端接口跨域问题
摘要: 1、项目中遇到的问题描述: 前端调用zuul统一网关服务接口,请求状态码200,但是无返回数据。 浏览器控制台报错信息:No Access-Control-Allow-Origin header is present on requested resource . 2、解决问题 借鉴https://
阅读全文
posted @ 2019-07-17 14:19 心动如雷
阅读(2997)
评论(0)
推荐(0)
2019年7月11日
SpringCloud+Ehcache
摘要: 1、pom文件引入 <!-- https://mvnrepository.com/artifact/org.ehcache/ehcache --><dependency><groupId>org.ehcache</groupId><artifactId>ehcache</artifactId><ve
阅读全文
posted @ 2019-07-11 15:45 心动如雷
阅读(1020)
评论(0)
推荐(0)
Java操作ElasticSearch
摘要: maven引入 <!-- https://mvnrepository.com/artifact/org.elasticsearch/elasticsearch --> <dependency> <groupId>org.elasticsearch</groupId> <artifactId>elas
阅读全文
posted @ 2019-07-11 15:12 心动如雷
阅读(495)
评论(0)
推荐(0)
2019年6月16日
ZooKeeper搭建集群
摘要: ZooKeeper ZooKeeper是一个分布式的,开放源码的分布式应用程序协调服务,是Google的Chubby一个开源的实现,是Hadoop和Hbase的重要组件。它是一个为分布式应用提供一致性服务的软件,提供的功能包括:配置维护、域名服务、分布式同步、组服务等。(百度百科) 1、下载与解压
阅读全文
posted @ 2019-06-16 11:35 心动如雷
阅读(4539)
评论(0)
推荐(0)
2019年6月15日
Kafka入门
摘要: Kafka Kafka是由Apache软件基金会开发的一个开源流处理平台,由Scala和Java编写。Kafka是一种高吞吐量的分布式发布订阅消息系统,它可以处理消费者在网站中的所有动作流数据。(百度百科) 1、启动 1.1、下载Kafka文件 下载:kafka_2.12-2.2.0.tgz 解压:
阅读全文
posted @ 2019-06-15 19:11 心动如雷
阅读(384)
评论(0)
推荐(0)
Nginx+keepalived负载均衡
摘要: 1、安装Nginx $ yum -y install gcc # nginx是c写的 $ yum -y install pcre-devel # url重写用到的包 $ yum -y install zlib zlib-devel # 解压缩用到的包 扩展①: yum install -y lsof
阅读全文
posted @ 2019-06-15 13:54 心动如雷
阅读(3295)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告