rz 1 жил өмнө
parent
commit
f887527c1e
1 өөрчлөгдсөн 19 нэмэгдсэн , 1 устгасан
  1. 19 1
      README.md

+ 19 - 1
README.md

@@ -16,7 +16,25 @@
 参考config.yaml,配置好后直接编译运行,建议第一次运行synctest为true
 
 # 同步sql示例
-  
+
+```
+POST _reindex
+{
+  "source": {
+    "index": "bidding",
+    "query": {
+      "bool": {
+        "filter":[{"range":{"publishtime":{"lt":1694966400,"gte":1687017600}}}]
+      }
+    }
+  },
+  "dest": {
+    "index": "bidding_temporary"
+  }
+}
+```
+- sql:
+
 ```
 {
   "query": {