|
87 | 87 | <!-- Lucene index is configured below --> |
88 | 88 | <lucene> |
89 | 89 | <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"/> |
91 | 91 | <text qname="TITLE" analyzer="ws"/> |
92 | 92 | <text qname="p"> |
93 | 93 | <inline qname="em"/> |
|
442 | 442 | </lucene></markup> |
443 | 443 | </programlisting> |
444 | 444 | </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 |
446 | 446 | <sgmltag>analyzer</sgmltag> element without <option>id</option> attribute). |
447 | 447 | We provide an additional analyzer and assign it the id <option>ws</option>, by |
448 | 448 | 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 |
450 | 450 | tokenizes the text at white space characters, but treats all other characters - |
451 | 451 | including punctuation - as part of the token. The tokens are not converted to |
452 | 452 | lower case and there's no stopword filter applied.</para> |
|
463 | 463 | <li>"org.apache.lucene.analysis.util.CharArraySet" or "set"</li> |
464 | 464 | <li>"java.lang.reflect.Field" </li> |
465 | 465 | </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 |
467 | 467 | as first parameter for the analyzer constructor, but a fall back mechanism is present for older analyzers. |
468 | 468 | The previously valid values "java.io.File" and "java.util.Set" can not be used since Lucene 4.</para> |
469 | 469 | <example> |
|
0 commit comments