Skip to content

Commit

Permalink
[DOCS] Fix Lucene's stop words links (#70405) (#70476)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabien Caylus <fabien.caylus@gmail.com>
  • Loading branch information
jrodewig and fcaylus committed Mar 16, 2021
1 parent aa718f8 commit 61a7910
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions docs/reference/analysis.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
= Text analysis

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

[partintro]
--
Expand Down Expand Up @@ -58,4 +59,4 @@ include::analysis/tokenfilters.asciidoc[]

include::analysis/charfilters.asciidoc[]

include::analysis/normalizers.asciidoc[]
include::analysis/normalizers.asciidoc[]
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,11 @@ parameter and a link to their predefined stop words in Lucene.

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

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

[[finnish-stop-words]]
`_finnish_`::
Expand Down

0 comments on commit 61a7910

Please sign in to comment.