许鹏程
2025-01-20 d334dfae15726489656d582c8f9356ef02d0686a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package com.product.lucene.test;
 
import java.util.HashMap;
import java.util.Map;
 
import com.product.common.utils.HttpTest;
 
 
public class IndexTest extends HttpTest {
 
    public static void main(String[] args) {
        createdIndex();        //创建索引
//        deleteIndex();        //删除索引
    }
    
    public static void createdIndex() {
        Map<String,Object> map=new HashMap<>();
        map.put("url/api", "/api/lucene/created/v1");
        map.put("~table~", "");
        map.put("function_uuid", "a41c532a-0b74-4f85-a1ab-ad98fd0e6132");
        map.put("service_uuid", "b3d8a0ae-eaba-458f-9f13-655cbf03be7f");
        testPost(map);
    }
    
    
    public static void deleteIndex() {
        
    }
}