Commit 2ea3bc62 by shenjunjie

修正创建索引程序

parent cba7eb07
...@@ -30,9 +30,9 @@ public class BrandkbsIndexCreateTest { ...@@ -30,9 +30,9 @@ public class BrandkbsIndexCreateTest {
public void test1() throws IOException { public void test1() throws IOException {
String channelIndex = "brandkbs2_channel_record_2023"; String channelIndex = "brandkbs2_channel_record_2023";
// String brandkbsIndex = "brandkbs2_2022"; // String brandkbsIndex = "brandkbs2_2022";
// putChannelIndex(channelIndex); putChannelIndex(channelIndex);
// putBrandkbsIndex("brandkbs2_2018","brandkbs2_2019","brandkbs2_2020","brandkbs2_2021"); // putBrandkbsIndex("brandkbs2_2018","brandkbs2_2019","brandkbs2_2020","brandkbs2_2021");
putBrandkbsIndex("brandkbs2_2017"); // putBrandkbsIndex("brandkbs2_2017");
} }
public void putChannelIndex(String... indexes) throws IOException { public void putChannelIndex(String... indexes) throws IOException {
...@@ -219,7 +219,7 @@ public class BrandkbsIndexCreateTest { ...@@ -219,7 +219,7 @@ public class BrandkbsIndexCreateTest {
builder(obj2, "long", "time", false); builder(obj2, "long", "time", false);
builder(obj2, "long", "last_time", false); builder(obj2, "long", "last_time", false);
message.put("properties", obj2); message.put("properties", obj2);
properties.put("mark_cache_maps", message); properties.put("record", message);
} }
public static void markMapCache(Map<String, Object> properties) { public static void markMapCache(Map<String, Object> properties) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment