Mapping Field Analyzer
Character filtering
- E.g., remove html encoding, convert & to and
Tokenizer
- Split strings with a pattern
-
Token filter
-
Lowercasing, stemming, synonyms, stopwords
-
Analyzer options
standard
: split on words boundaries, remove punctuation, lowercase everythingsimple
: split on anything that isn't a letter, lowercase everythingwhitespace
: split on whitespacesenglish
: account for language-specific stop-words and stemming
{
"mappings": {
"properties": {
"description": {
"type": "text",
"analyzer": "english" // field analyzer
}
}
}
}