You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: data/upgrading.xml
+18-9Lines changed: 18 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,4 @@
1
+
<?xml version="1.0" encoding="UTF-8"?>
1
2
<!-- $Id$ -->
2
3
<book>
3
4
<bookinfo>
@@ -39,9 +40,17 @@
39
40
</procedure>
40
41
</section>
41
42
<section>
42
-
<title>Upgrading to 2.2</title>
43
+
<title>Upgrading to 2.2 final</title>
43
44
<para>The 2.2 release is not binary compatible with the 1.4.x series. You need to
44
45
backup/restore.</para>
46
+
<para>2.2 introduces a <emphasis>new range index module</emphasis>. Old index definitions will still work though as we made sure to keep backwards
47
+
compatible. If you would like to upgrade to the new index, check its <ulinkurl="newrangeindex.xml">documentation</ulink>.</para>
48
+
<para>The XQuery engine has been updated to support the changed syntax for <emphasis>maps in XQuery 3.1</emphasis>. The query parser will still accept the
49
+
old syntax for map constructors though (<code>map { x:= "y"}</code> instead of <code>map { x: "y" }</code> in XQuery 3.1), so old
50
+
code should run without modifications. All map module functions from XQuery 3.1 are
<para>The signatures for some <emphasis>higher-order utility functions</emphasis> like fn:filter, fn:fold-left and fn:fold-right have changed as well. Please review your
53
+
use of those functions. Also, fn:map is now called fn:for-each, though the old name is still accepted.</para>
45
54
<para>The bundled Lucene has been upgraded from 3.6.1
46
55
to 4.4 with this release. Depending on what Lucene
47
56
analyzers you are using you need to change the
@@ -98,7 +107,7 @@
98
107
</orderedlist>
99
108
<para>You can use an XQuery to automatically apply a default permission to every collection and XQuery, and
100
109
then change them manually for some collections or resources.</para>
101
-
<programlistinglanguage="xquery"><![CDATA[xquery version "3.0";
110
+
<programlistinglanguage="xquery">xquery version "3.0";
0 commit comments