摘要:        
修改批量大小值 POST _reindex { "source": { "index": "源索引名称", "size": 5000 }, "dest": { "index": "迁移的索引名称", "routing": "=cat" } } ES副本数设置为0 PUT /迁移的索引名称/_sett    阅读全文
posted @ 2022-06-16 18:06
一点也不好
阅读(309)
评论(0)
推荐(0)
        
            
        
        
摘要:        
新建v1 index PUT /test_v1 设置v1 mapping POST /test_v1/_mapping { "properties": { "itemId": { "type": "long" }, "itemName": { "type": "text", "analyzer":     阅读全文
posted @ 2022-06-16 17:52
一点也不好
阅读(1681)
评论(0)
推荐(0)
        
            
        
        
摘要:        
新建工程,引入依赖 <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-elasticsearch</artifactId> <version>4.2.6</version> </depen    阅读全文
posted @ 2022-06-16 17:48
一点也不好
阅读(142)
评论(0)
推荐(0)
        
 
                    
                
 浙公网安备 33010602011771号
浙公网安备 33010602011771号