Last active
August 23, 2016 15:46
-
-
Save mojzis/e2a9f235fd4350754bcdc3e4c416adb7 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
see how is the field saved / tokenized in elastic | |
{ | |
"query": { | |
"term": { | |
"sku": "2306" | |
} | |
}, | |
"script_fields": { | |
"terms": { | |
"script": "doc[field].values", | |
"params": { | |
"field": "metaKeywords" | |
} | |
} | |
} | |
} | |
https://github.com/jprante/elasticsearch-analysis-decompound | |
index/_analyze | |
{ | |
"analyzer": "analyze_german_text", | |
"text": "Donaudampfschiff" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment