-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# ElasticSearch dictionary files for island.is project | ||
|
||
## Release | ||
Because of the way we handle versions of these dictionary files in the indexer/migration project we *must* keep an incremental single part versioning scheme. | ||
|
||
Releases must then contain at least the .tar.gz file. | ||
|
||
## Files | ||
|
||
### stopwords.txt | ||
List of words that should not be indexed (by default) | ||
|
||
Format: one word per line, with all inflections. | ||
|
||
Examples: https://github.com/apache/lucene-solr/tree/master/lucene/analysis/common/src/resources/org/apache/lucene/analysis/snowball | ||
|
||
### keywords.txt | ||
Words that should not be stemmed. | ||
|
||
Format: one word per line | ||
|
||
|
||
### synonyms.txt | ||
Synonyms of words. | ||
|
||
Format: We use the solr format. See https://www.elastic.co/guide/en/elasticsearch/reference/7.4/analysis-synonym-tokenfilter.html | ||
|
||
Examples: https://github.com/alphagov/search-api/blob/master/config/schema/synonyms.yml | ||
|
||
|
||
### stemmer.txt | ||
A stemmer dictionary. | ||
|
||
See https://www.elastic.co/guide/en/elasticsearch/reference/7.4/analysis-stemmer-override-tokenfilter.html | ||
|
||
We generate icelandic stemmer.txt from the Augmented Format of the BÍN database (https://bin.arnastofnun.is/DMII/LTdata/k-format/ ). | ||
More information about the generation itself later. |