From 00bb6cb6e98b941c81b7e752243e70fc5916d791 Mon Sep 17 00:00:00 2001 From: Florian Schade Date: Sun, 27 Aug 2023 18:02:45 +0200 Subject: [PATCH] fix: sonarcloud --- services/search/pkg/query/bleve/compiler.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/services/search/pkg/query/bleve/compiler.go b/services/search/pkg/query/bleve/compiler.go index 7e406900df8..9f9026110e1 100644 --- a/services/search/pkg/query/bleve/compiler.go +++ b/services/search/pkg/query/bleve/compiler.go @@ -25,9 +25,7 @@ var _fields = map[string]string{ } // Compiler represents a KQL query search string to the bleve query formatter. -type Compiler struct { - opts []kql.Option -} +type Compiler struct{} // Compile implements the query formatter which converts the KQL query search string to the bleve query. func (c *Compiler) Compile(givenAst *ast.Ast) (bleveQuery.Query, error) {