Skip to content

Commit 3bddf80

Browse files
authored
Merge pull request #97 from eXist-db/adamretter-patch-2
Small fixes
2 parents f56a346 + d218884 commit 3bddf80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

data/lucene.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<!-- Lucene index is configured below -->
8888
<lucene>
8989
<analyzer class="org.apache.lucene.analysis.standard.StandardAnalyzer"/>
90-
<analyzer id="ws" class="org.apache.lucene.analysis.WhitespaceAnalyzer"/>
90+
<analyzer id="ws" class="org.apache.lucene.analysis.core.WhitespaceAnalyzer"/>
9191
<text qname="TITLE" analyzer="ws"/>
9292
<text qname="p">
9393
<inline qname="em"/>
@@ -442,11 +442,11 @@
442442
&lt;/lucene&gt;</markup>
443443
</programlisting>
444444
</example>
445-
<para>In the example above, we define that Lucene's <ulink url="http://lucene.apache.org/core/4_4_0/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</ulink> should be used by default (the
445+
<para>In the example above, we define that Lucene's <ulink url="http://lucene.apache.org/core/4_10_4/analyzers-common/org/apache/lucene/analysis/standard/StandardAnalyzer.html">StandardAnalyzer</ulink> should be used by default (the
446446
<sgmltag>analyzer</sgmltag> element without <option>id</option> attribute).
447447
We provide an additional analyzer and assign it the id <option>ws</option>, by
448448
which the analyzer can be referenced in the actual index definitions.</para>
449-
<para>The <ulink url="http://lucene.apache.org/core/4_4_0/analyzers-common/org/apache/lucene/analysis/core/WhitespaceAnalyzer.html">whitespace analyzer</ulink> is the most basic one. As the name says, it
449+
<para>The <ulink url="http://lucene.apache.org/core/4_10_4/analyzers-common/org/apache/lucene/analysis/core/WhitespaceAnalyzer.html">whitespace analyzer</ulink> is the most basic one. As the name says, it
450450
tokenizes the text at white space characters, but treats all other characters -
451451
including punctuation - as part of the token. The tokens are not converted to
452452
lower case and there's no stopword filter applied.</para>
@@ -463,7 +463,7 @@
463463
<li>"org.apache.lucene.analysis.util.CharArraySet" or "set"</li>
464464
<li>"java.lang.reflect.Field" </li>
465465
</ul>
466-
The value <ulink url="http://lucene.apache.org/core/4_4_0/core/org/apache/lucene/util/Version.html#LUCENE_CURRENT">Version#LUCENE_CURRENT</ulink> is always added
466+
The value <ulink url="http://lucene.apache.org/core/4_10_4/core/org/apache/lucene/util/Version.html#LUCENE_CURRENT">Version#LUCENE_CURRENT</ulink> is always added
467467
as first parameter for the analyzer constructor, but a fall back mechanism is present for older analyzers.
468468
The previously valid values "java.io.File" and "java.util.Set" can not be used since Lucene 4.</para>
469469
<example>

0 commit comments

Comments
 (0)