Skip to content

Commit 73a4568

Browse files
committed
Add pointer to range:matches in documentation of new range index
1 parent 990afa2 commit 73a4568

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

src/main/xar-resources/data/newrangeindex/newrangeindex.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@
4949
string functions like <code>fn:contains</code>, <code>fn:starts-with</code>,
5050
<code>fn:ends-with</code>. </para>
5151
<note>
52-
<para> <code>fn:matches</code> is currently not supported due to limitations in Lucene's
53-
regular expression handling. If you require fn:matches a lot, consider using the
54-
<link xlink:href="oldrangeindex">old range index</link>.</para>
52+
<para><code>fn:matches</code> is currently not supported due to limitations in Lucene's
53+
regular expression handling. Alternatives include the new <code>range:matches</code>
54+
function (which <emphasis>is</emphasis> supported with the new range index, although subject to
55+
<link condition="_blank" xlink:href="http://lucene.apache.org/core/4_5_1/core/org/apache/lucene/util/automaton/RegExp.html">Lucene
56+
limitations</link>) and the <link xlink:href="oldrangeindex">old range index</link> (which does not use Lucene).</para>
5557
</note>
5658
<para>Above configuration applies to documents using MODS, a standard for bibliographical
5759
metadata. The following XPath expressions use the created indexes: </para>

0 commit comments

Comments
 (0)