Revert "Revert "Unified Storage: Use match all query instead of wildcard for not-in requirement query"" (#102074)

Revert "Revert "Unified Storage: Use match all query instead of wildcard for …"

This reverts commit 4d9bcc6c44.
This commit is contained in:
owensmallwood
2025-03-13 02:08:56 +02:00
committed by GitHub
parent 64b65ffc72
commit 56293d8019
+1 -1
View File
@@ -803,7 +803,7 @@ func requirementQuery(req *resource.Requirement, prefix string) (query.Query, *r
boolQuery.AddMustNot(mustNotQueries...)
// must still have a value
notEmptyQuery := bleve.NewWildcardQuery("*")
notEmptyQuery := bleve.NewMatchAllQuery()
boolQuery.AddMust(notEmptyQuery)
return boolQuery, nil