From 6e9d61c209e7f0ce289b0a95a2c76d6e1823806d Mon Sep 17 00:00:00 2001 From: Adam Retter Date: Sat, 12 Oct 2024 11:20:53 +0200 Subject: [PATCH] [bugfix] Fix failing Range Index test after merge of https://github.com/eXist-db/exist/pull/4910. Closes https://github.com/eXist-db/exist/issues/5496 --- extensions/indexes/range/src/test/xquery/range/optimizer.xql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/indexes/range/src/test/xquery/range/optimizer.xql b/extensions/indexes/range/src/test/xquery/range/optimizer.xql index 9e6cba3fd0f..ab6fa75b9f9 100644 --- a/extensions/indexes/range/src/test/xquery/range/optimizer.xql +++ b/extensions/indexes/range/src/test/xquery/range/optimizer.xql @@ -474,7 +474,7 @@ function ot:optimize-matches-field($city as xs:string) { declare %test:stats %test:args("[rR]üssel.*") - %test:assertXPath("$result//stats:index[@type = 'new-range'][@optimization = 1]") + %test:assertXPath("$result//stats:index[@type eq 'new-range'][@optimization-level eq 'BASIC']") function ot:matches-field-filtered($city as xs:string) { let $address := collection($ot:COLLECTION)//address return