Skip to content

[bugfix] Cache FT thesaurus/stop-word URI maps to survive context reset

23c9971
Select commit
Loading
Failed to load commit list.
Closed

Implement W3C XQuery and XPath Full Text 3.0 (contains text expression) #6133

[bugfix] Cache FT thesaurus/stop-word URI maps to survive context reset
23c9971
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Mar 30, 2026 in 0s

51 new issues (0 max.) of at least severity.

Codacy Here is an overview of what got changed by this pull request:

Issues
======
- Added 51
           

Complexity increasing per file
==============================
- exist-core/src/main/java/org/exist/xquery/XQueryContext.java  11
- exist-core/src/main/java/org/exist/xquery/LetExpr.java  3
- exist-core/src/main/java/org/exist/xquery/ForExpr.java  4
- exist-core/src/main/java/org/exist/xquery/StaticXQueryException.java  2
- exist-core/src/test/java/org/exist/xquery/ft/FTContainsTest.java  57
- exist-core/src/main/java/org/exist/xquery/ft/FTOr.java  13
- exist-core/src/main/java/org/exist/xquery/ft/FTPrimaryWithOptions.java  17
- exist-core/src/main/java/org/exist/xquery/ft/FTContainsExpr.java  50
- exist-core/src/main/java/org/exist/xquery/ft/FTContent.java  12
- exist-core/src/main/java/org/exist/xquery/ft/FTMatchOptions.java  54
- exist-core/src/main/java/org/exist/xquery/ft/FTWindow.java  9
- exist-core/src/main/java/org/exist/xquery/ft/FTDistance.java  9
- exist-core/src/main/java/org/exist/xquery/ft/FTThesaurus.java  27
- exist-core/src/main/java/org/exist/xquery/ft/FTOrder.java  4
- exist-core/src/main/java/org/exist/xquery/ft/FTEvaluator.java  475
- exist-core/src/main/java/org/exist/xquery/ft/FTWords.java  21
- exist-core/src/test/java/org/exist/xquery/ft/FTParserTest.java  28
- exist-core/src/main/java/org/exist/xquery/ft/FTUnaryNot.java  7
- exist-core/src/test/java/org/exist/xquery/ft/FTEvaluatorTest.java  12
- exist-core/src/main/java/org/exist/xquery/ft/FTScope.java  8
- exist-core/src/main/java/org/exist/xquery/ft/FTUnit.java  5
- exist-core/src/main/java/org/exist/xquery/ft/FTSelection.java  15
- exist-core/src/main/java/org/exist/xquery/ft/FTTimes.java  7
- exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java  71
- exist-core/src/main/java/org/exist/xquery/ft/FTAbstractExpr.java  3
- exist-core/src/main/java/org/exist/xquery/ft/FTAnd.java  13
- exist-core/src/main/java/org/exist/xquery/ft/FTMildNot.java  27
- exist-core/src/main/java/org/exist/xquery/ft/FTRange.java  21
         

Clones added
============
- exist-core/src/test/java/org/exist/xquery/ft/FTContainsTest.java  1
- exist-core/src/main/java/org/exist/xquery/ft/FTOr.java  7
- exist-core/src/main/java/org/exist/xquery/ft/FTWindow.java  1
- exist-core/src/main/java/org/exist/xquery/ft/FTDistance.java  2
- exist-core/src/main/java/org/exist/xquery/ft/FTTimes.java  1
- exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java  1
- exist-core/src/main/java/org/exist/xquery/ft/FTAnd.java  3
- exist-core/src/main/java/org/exist/xquery/ft/FTMildNot.java  4
         

See the complete overview on Codacy

Annotations

Check notice on line 78 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L78

The JUnit 4 test method name 's2_1_basicContainsText' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 83 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L83

The JUnit 4 test method name 's2_1_noMatch' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 88 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L88

The JUnit 4 test method name 's2_1_multiWordMatch' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 94 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L94

The JUnit 4 test method name 's2_1_emptyStringAlwaysMatches' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 99 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L99

The JUnit 4 test method name 's2_1_xmlElement' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 104 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L104

The JUnit 4 test method name 's2_1_variableSource' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 115 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L115

The JUnit 4 test method name 's2_2_anyDefault' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 121 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L121

The JUnit 4 test method name 's2_2_anyMultipleStrings' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 129 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L129

The JUnit 4 test method name 's2_2_anyWord' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 135 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L135

The JUnit 4 test method name 's2_2_anyWordNoMatch' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 142 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L142

The JUnit 4 test method name 's2_2_all' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 148 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L148

The JUnit 4 test method name 's2_2_allMultiple' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 153 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L153

The JUnit 4 test method name 's2_2_allFails' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 160 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L160

The JUnit 4 test method name 's2_2_allWords' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 166 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L166

The JUnit 4 test method name 's2_2_allWordsFail' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 173 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L173

The JUnit 4 test method name 's2_2_phrase' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 179 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L179

The JUnit 4 test method name 's2_2_phraseNoMatch' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 189 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L189

The JUnit 4 test method name 's2_3_ftor' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 196 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L196

The JUnit 4 test method name 's2_3_ftand' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 202 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L202

The JUnit 4 test method name 's2_3_ftnot' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 209 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L209

The JUnit 4 test method name 's2_3_mildNot' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 217 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L217

The JUnit 4 test method name 's2_3_mildNotNoOverlap' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 223 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L223

The JUnit 4 test method name 's2_3_complexBoolean' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 240 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L240

The JUnit 4 test method name 's2_4_ordered' doesn't match '[a-z][a-zA-Z0-9]*'

Check notice on line 247 in exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

exist-core/src/test/java/org/exist/xquery/ft/FTConformanceTest.java#L247

The JUnit 4 test method name 's2_4_orderedReverse' doesn't match '[a-z][a-zA-Z0-9]*'