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() {
|
|
}
|
}
|