随笔分类 - 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
        阅读全文
                
摘要:GET dss_checkin_index/_search { "size": 0, "query": { "bool": { "must": [ { "range": { "checkInTime": { "gte": "2015-06-01 00:00:00 000", "lt": "2015-
        阅读全文
                
摘要:select * from [fre_userlianghua] where [shop_id]='195' and ([fangyuanshou]+[fangyuanzu]+[keyuanshou]+[keyuanzu]+[yaoshi]+[fangkan]+[dianhua1]+[daikan]
        阅读全文
                
摘要:mapping效果: "label": { "type": "keyword", "fields": { "IKS": { "type": "text", "analyzer": "ikIndexAnalyzer" } } } @Column(name = "标签") @MultiField( ma
        阅读全文
                
摘要:<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-elasticsearch</artifactId> <version>${spring.boot.versio
        阅读全文
                
摘要:POST property_sql/property_info/_update_by_query { "script": { "lang": "painless", "inline": "ctx._source.published = 1" } } 效果
        阅读全文
                
摘要:String id = null; try {SearchRequest request = new SearchRequest(IndexAndTypeConstant.PROPERTY_SQL); request.types(IndexAndTypeConstant.PROPERTY_SQL_T
        阅读全文
                
摘要:详情:http://blog.csdn.net/tianyaleixiaowu/article/details/77965257 @PostMapping("/searchbookinfo") public Object searchbookinfo(@RequestBody Map<String,
        阅读全文
                
摘要:<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.9.RELEASE</version> <relativePat
        阅读全文
                
摘要:准备 windows7JDK-1.8ElasticSearch-6.1.1node-v9.4.0-x64.msigit 下载node.js ,网址:https://nodejs.org/en/ 安装node到D盘。如D:\nodejs。 把NODE_HOME设置到环境变量里(安装包也会自动加入PAT
        阅读全文
                
摘要:1.搭建springboot项目,能跑起来(具体百度,我的springboot版本 1.5.9.RELEASE) 2.本机或者服务器安装elasticsearch并启动服务成功(我本地Windows安装的elasticsearch版本6.1.1) 3.pom引入依赖 <dependency> <gr
        阅读全文
                
 
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号