Skip to content

Commit

Permalink
Update analysis default configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Apr 4, 2024
1 parent 1e7b4c4 commit 2c6e9c1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
12 changes: 8 additions & 4 deletions examples/analysis/analysis-german.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"filter": [
"lowercase",
"custom_dictionary_decompounder",
"light_german_stemmer",
"unique"
"no_stem",
"light_german_stemmer"
]
},
"german_exact": {
"german_exact_analyzer": {
"tokenizer": "standard",
"filter": [
"lowercase"
Expand All @@ -21,7 +21,11 @@
"filter": {
"custom_dictionary_decompounder": {
"type": "dictionary_decompounder",
"word_list_path": "elasticsearch-lexicon.txt"
"word_list_path": "elasticsearch-lexicon-german.txt"
},
"no_stem": {
"type": "keyword_marker",
"keywords_path": "elasticsearch-keywords-german.txt"
},
"light_german_stemmer": {
"type": "stemmer",
Expand Down
1 change: 1 addition & 0 deletions examples/analysis/elasticsearch-keywords-german.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
börse
6 changes: 3 additions & 3 deletions examples/analysis/elasticsearch-lexicon-german.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
abschluss
abteilung
adresse
lehr
stell
börse

0 comments on commit 2c6e9c1

Please sign in to comment.