Skip to content

refactor(search): use map[string]struct{} for lowercaseFields set

365bd94
Select commit
Loading
Failed to load commit list.
Merged

fix(search): preserve value case for non-lowercased bleve fields #2633

refactor(search): use map[string]struct{} for lowercaseFields set
365bd94
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 22, 2026 in 31s

Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 92 in services/search/pkg/query/bleve/compiler.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 65 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=opencloud-eu_opencloud&issues=AZ2rUsv1YAMqBI2ZMpGt&open=AZ2rUsv1YAMqBI2ZMpGt&pullRequest=2633