摘要: 是什么? Elasticsearch是一个基于Apache Lucene(TM)的开源搜索引擎。无论在开源还是专有领域,Lucene可以被认为是迄今为止最先进、性能最好的、功能最全的搜索引擎库。 Elasticsearch不仅仅是Lucene和全文搜索,我们还能这样去描述它: 分布式的实时文件存储, 阅读全文
posted @ 2017-06-22 14:47 yweihainan 阅读(12289) 评论(1) 推荐(1) 编辑
摘要: spring data mongo 打印mongo NoSql语句 log4j.properties 原因: Spring中Mongodb的java实体类映射 spring-data-mongodb中的实体映射是通过MongoMappingConverter这个类实现的。它可以通过注释把java类转 阅读全文
posted @ 2017-06-22 14:40 yweihainan 阅读(9681) 评论(0) 推荐(0) 编辑
摘要: 1 mongo的安装 1.添加MongoDB安装源 1.添加MongoDB安装源vim /etc/yum.repos.d/mongodb-enterprise.repo 将下列配置项写入文件 [mongodb-enterprise] name=MongoDB Enterprise Repositor 阅读全文
posted @ 2017-06-22 14:28 yweihainan 阅读(571) 评论(0) 推荐(1) 编辑