From 7340308ea2af1bdc323b0bdfe00c056ba1b4899b Mon Sep 17 00:00:00 2001 From: Mohamad Choupan Date: Thu, 26 Dec 2024 01:10:32 +0330 Subject: [PATCH] feat: add : to symbole --- pkg/opengovernance-es-sdk/elasticsearch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/opengovernance-es-sdk/elasticsearch.go b/pkg/opengovernance-es-sdk/elasticsearch.go index c5f4011..6428a13 100644 --- a/pkg/opengovernance-es-sdk/elasticsearch.go +++ b/pkg/opengovernance-es-sdk/elasticsearch.go @@ -393,7 +393,7 @@ func qualValue(qual *proto.QualValue) string { // or partial matching in a text field. If found, we produce a dual (field + field.keyword) query. func containsSpecialSymbol(val string) bool { // Some special chars: / \ < > , - _ ( ) [ ] = - specialChars := "/\\<>,-_()[]=" + specialChars := "/\\<>,-_()[]:;=" return strings.ContainsAny(val, specialChars) }