Skip to content

Instantly share code, notes, and snippets.

@djptek
Created October 3, 2018 13:06
Show Gist options
  • Save djptek/17b67e663eda1dc6561d9926317b08d0 to your computer and use it in GitHub Desktop.
Save djptek/17b67e663eda1dc6561d9926317b08d0 to your computer and use it in GitHub Desktop.
Comparing Dutch Stemmers
# take a look at the difference between these 2 examples, you can cut and paste them into Kibana
# Standard Dutch
POST _analyze
{
"tokenizer": "standard",
"filter": [
"standard",
"lowercase",
{
"type": "stemmer",
"name": "dutch"
}
],
"text": "activeren, activeer, activeert, activeerden, activeerde, geactiveerd"
}
#Dutch_kp
POST _analyze
{
"tokenizer": "standard",
"filter": [
"standard",
"lowercase",
{
"type": "stemmer",
"name": "dutch_kp"
}
],
"text": "activeren, activeer, activeert, activeerden, activeerde, geactiveerd"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment