Make elasticsearch refresh opt configurable

This commit is contained in:
ionutboangiu
2024-11-27 18:41:17 +02:00
committed by Dan Christian Bogos
parent f1cdf920df
commit 8d7628410e
8 changed files with 42 additions and 12 deletions

View File

@@ -512,6 +512,7 @@
// // "elsIndex": "", // ElsIndex
// // "elsRefresh": "", // ElsRefresh
// // "elsOpType": "", // ElsOpType
// // "elsPipeline": "", // ElsPipeline
// // "elsRouting": "", // ElsRouting

View File

@@ -16,7 +16,8 @@
"synchronous": true,
"failed_posts_dir": "*none",
"opts": {
"elsIndex": "cdrs_basic"
"elsIndex": "cdrs_basic",
"elsRefresh": "true"
}
},
{
@@ -26,7 +27,8 @@
"synchronous": true,
"failed_posts_dir": "*none",
"opts": {
"elsIndex": "cdrs_fields"
"elsIndex": "cdrs_fields",
"elsRefresh": "true"
},
"fields": [
{ "tag": "CGRID", "path": "*exp.CGRID", "type": "*variable", "value": "~*req.CGRID" },