随笔分类 -  elasticsearch

摘要://sql 版本 SELECT id,estate_name,house_type,price FROM ( SELECT id,estate_name,house_type,price, ROW_NUMBER () OVER ( PARTITION BY estate_name,house_typ 阅读全文
posted @ 2019-10-23 09:45 qwer78 阅读(80) 评论(0) 推荐(0)
摘要:GET dss_checkin_index/_search { "size": 0, "query": { "bool": { "must": [ { "range": { "checkInTime": { "gte": "2015-06-01 00:00:00 000", "lt": "2015- 阅读全文
posted @ 2019-01-21 08:34 qwer78 阅读(83) 评论(0) 推荐(0)
摘要:select * from [fre_userlianghua] where [shop_id]='195' and ([fangyuanshou]+[fangyuanzu]+[keyuanshou]+[keyuanzu]+[yaoshi]+[fangkan]+[dianhua1]+[daikan] 阅读全文
posted @ 2018-12-25 09:10 qwer78 阅读(188) 评论(0) 推荐(0)
摘要:mapping效果: "label": { "type": "keyword", "fields": { "IKS": { "type": "text", "analyzer": "ikIndexAnalyzer" } } } @Column(name = "标签") @MultiField( ma 阅读全文
posted @ 2018-12-06 10:21 qwer78 阅读(84) 评论(0) 推荐(0)
摘要:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> <version>${spring.boot.versio 阅读全文
posted @ 2018-11-07 15:57 qwer78 阅读(65) 评论(0) 推荐(0)
摘要:POST property_sql/property_info/_update_by_query { "script": { "lang": "painless", "inline": "ctx._source.published = 1" } } 效果 阅读全文
posted @ 2018-09-26 16:03 qwer78 阅读(70) 评论(0) 推荐(0)
摘要:String id = null; try {SearchRequest request = new SearchRequest(IndexAndTypeConstant.PROPERTY_SQL); request.types(IndexAndTypeConstant.PROPERTY_SQL_T 阅读全文
posted @ 2018-08-29 16:11 qwer78 阅读(139) 评论(0) 推荐(0)
摘要:详情:http://blog.csdn.net/tianyaleixiaowu/article/details/77965257 @PostMapping("/searchbookinfo") public Object searchbookinfo(@RequestBody Map<String, 阅读全文
posted @ 2018-01-31 14:08 qwer78 阅读(217) 评论(0) 推荐(0)
摘要:<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.9.RELEASE</version> <relativePat 阅读全文
posted @ 2018-01-30 11:47 qwer78 阅读(20) 评论(0) 推荐(0)
摘要:准备 windows7JDK-1.8ElasticSearch-6.1.1node-v9.4.0-x64.msigit 下载node.js ,网址:https://nodejs.org/en/ 安装node到D盘。如D:\nodejs。 把NODE_HOME设置到环境变量里(安装包也会自动加入PAT 阅读全文
posted @ 2018-01-29 16:55 qwer78 阅读(12) 评论(0) 推荐(0)
摘要:1.搭建springboot项目,能跑起来(具体百度,我的springboot版本 1.5.9.RELEASE) 2.本机或者服务器安装elasticsearch并启动服务成功(我本地Windows安装的elasticsearch版本6.1.1) 3.pom引入依赖 <dependency> <gr 阅读全文
posted @ 2018-01-24 15:54 qwer78 阅读(126) 评论(0) 推荐(0)