摘要:        
报错信息:Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000085330000, 2060255232, 0) failed; error='Cannot allocate memory' (err    阅读全文
posted @ 2018-07-20 00:21
开发者导航
阅读(3388)
评论(0)
推荐(0)
        
            
        
        
摘要:        
ElasticSearchClient.java ElasticSearchDao.java ElasticSearchDaoImpl.java Order.java OrderInfo.java PageInfo.java SearchEsUtil.java SurplusGoodsEntity.    阅读全文
posted @ 2018-07-20 00:15
开发者导航
阅读(3449)
评论(0)
推荐(0)
        
            
        
        
摘要:        
在线API:https://www.elastic.co/guide/en/elasticsearch/client/java-api/2.4/transport-client.html教程:http://blog.java1234.com/blog/articles/345.html注意:不同版本    阅读全文
posted @ 2018-07-20 00:09
开发者导航
阅读(329)
评论(0)
推荐(0)
        
            
        
        
摘要:        
ES和关系型数据库的数据对比 1、创建索引库PUT/POST都可以,索引库名称必须全部小写,不能以下划线开头,也不能包含逗号curl -XPUT 'http://192.168.136.131:9200/wangxiangyu_index/'{"acknowledged":true}[root@lo    阅读全文
posted @ 2018-07-20 00:06
开发者导航
阅读(485)
评论(0)
推荐(0)
        
            
        
        
摘要:        
允许外网连接network.host,http.port,network.publish_host,network.bind_host别的机器或者网卡才能访问,否则只能是127.0.0.1或者localhost访问注意配置yml结尾的配置文件都需要冒号后面加空格才行。 关闭防火墙systemctl     阅读全文
posted @ 2018-07-20 00:02
开发者导航
阅读(170)
评论(0)
推荐(0)
        
 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号