From 9ac147f3a3798e5a3cab8ac5eeb09831e442c9c5 Mon Sep 17 00:00:00 2001 From: ionutboangiu Date: Mon, 27 Jan 2025 20:00:05 +0200 Subject: [PATCH] Properly document elastic index req opts --- config/config_defaults.go | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/config/config_defaults.go b/config/config_defaults.go index 9ad7e12cc..97ebab2ac 100644 --- a/config/config_defaults.go +++ b/config/config_defaults.go @@ -555,13 +555,14 @@ const CGRATES_CFG_JSON = ` // "elsRetryOnStatus":[], // List of status codes for retry. Default: 502, 503, 504. // "elsMaxRetries": 0, // Default: 3. // "elsDisableRetry": false, // Default: false. - // "elsIndex": "", // ElsIndex - // "elsRefresh": "false", // controls when changes become visible - // "elsOpType": "", // ElsOpType - // "elsPipeline": "", // ElsPipeline - // "elsRouting": "", // ElsRouting - // "elsTimeout": "", // ElsTimeout - // "elsWaitForActiveShards": "", // ElsWaitForActiveShards + // "elsIndex": "", // target elasticsearch index + // "elsRefresh": "false", // controls when changes become searchable + // "elsOpType": "index", // operation type + // "elsPipeline": "", // name of the ingest pipeline to use + // "elsRouting": "", // custom routing value for document storage + // "elsTimeout": "1m", // maximum time to wait for operation + // "elsWaitForActiveShards": "1", // number of shard copies required before indexing (default: 1) + // SQL