Skip to content

Commit 61a7910

Browse files
jrodewigfcaylus
andauthored
[DOCS] Fix Lucene's stop words links (#70405) (#70476)
Co-authored-by: Fabien Caylus <[email protected]>
1 parent aa718f8 commit 61a7910

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/reference/analysis.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
= Text analysis
33

44
:lucene-analysis-docs: https://lucene.apache.org/core/{lucene_version_path}/analyzers-common/org/apache/lucene/analysis
5-
:lucene-stop-word-link: https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/resources/org/apache/lucene/analysis
5+
:lucene-gh-main-link: https://github.com/apache/lucene/blob/main/lucene
6+
:lucene-stop-word-link: {lucene-gh-main-link}/analysis/common/src/resources/org/apache/lucene/analysis
67

78
[partintro]
89
--
@@ -58,4 +59,4 @@ include::analysis/tokenfilters.asciidoc[]
5859

5960
include::analysis/charfilters.asciidoc[]
6061

61-
include::analysis/normalizers.asciidoc[]
62+
include::analysis/normalizers.asciidoc[]

docs/reference/analysis/tokenfilters/stop-tokenfilter.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,11 +282,11 @@ parameter and a link to their predefined stop words in Lucene.
282282

283283
[[english-stop-words]]
284284
`_english_`::
285-
https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java#L46[English stop words]
285+
{lucene-gh-main-link}/analysis/common/src/java/org/apache/lucene/analysis/en/EnglishAnalyzer.java#L48[English stop words]
286286

287287
[[estonian-stop-words]]
288288
`_estonian_`::
289-
https://github.com/apache/lucene-solr/blob/master/lucene/analysis/common/src/resources/org/apache/lucene/analysis/et/stopwords.txt[Estonian stop words]
289+
{lucene-stop-word-link}/et/stopwords.txt[Estonian stop words]
290290

291291
[[finnish-stop-words]]
292292
`_finnish_`::

0 commit comments

Comments
 (0)