Analyze results as,
- table stems to tabl
- tabel stems to tabel
- tap stems to tap
- taps stems to tap
Query: Table
{
"tokenizer": "standard",
"filter": [
"lowercase",
"synonym_filter",
"bad_words_filter",
"stemmer_filter"
],
"text": [
"table"
],
"explain" : true
}
Response:
{
"detail": {
"custom_analyzer": true,
"charfilters": [],
"tokenizer": {
"name": "standard",
"tokens": [
{
"token": "table",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 6c 65]",
"positionLength": 1,
"termFrequency": 1
}
]
},
"tokenfilters": [
{
"name": "lowercase",
"tokens": [
{
"token": "table",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 6c 65]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "synonym_filter",
"tokens": [
{
"token": "table",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 6c 65]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "bad_words_filter",
"tokens": [
{
"token": "table",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 6c 65]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "stemmer_filter",
"tokens": [
{
"token": "tabl",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 6c]",
"keyword": false,
"positionLength": 1,
"termFrequency": 1
}
]
}
]
}
}
Query: Tabel
{
"tokenizer": "standard",
"filter": [
"lowercase",
"synonym_filter",
"bad_words_filter",
"stemmer_filter"
],
"text": [
"tabel"
],
"explain" : true
}
Response:
{
"detail": {
"custom_analyzer": true,
"charfilters": [],
"tokenizer": {
"name": "standard",
"tokens": [
{
"token": "tabel",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 65 6c]",
"positionLength": 1,
"termFrequency": 1
}
]
},
"tokenfilters": [
{
"name": "lowercase",
"tokens": [
{
"token": "tabel",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 65 6c]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "synonym_filter",
"tokens": [
{
"token": "tabel",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 65 6c]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "bad_words_filter",
"tokens": [
{
"token": "tabel",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 65 6c]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "stemmer_filter",
"tokens": [
{
"token": "tabel",
"start_offset": 0,
"end_offset": 5,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 62 65 6c]",
"keyword": false,
"positionLength": 1,
"termFrequency": 1
}
]
}
]
}
}
Query: Tap
{
"tokenizer": "standard",
"filter": [
"lowercase",
"synonym_filter",
"bad_words_filter",
"stemmer_filter"
],
"text": [
"tap"
],
"explain" : true
}
Response:
{
"detail": {
"custom_analyzer": true,
"charfilters": [],
"tokenizer": {
"name": "standard",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 3,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"positionLength": 1,
"termFrequency": 1
}
]
},
"tokenfilters": [
{
"name": "lowercase",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 3,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "synonym_filter",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 3,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "bad_words_filter",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 3,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "stemmer_filter",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 3,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"keyword": false,
"positionLength": 1,
"termFrequency": 1
}
]
}
]
}
}
Query: Taps
{
"tokenizer": "standard",
"filter": [
"lowercase",
"synonym_filter",
"bad_words_filter",
"stemmer_filter"
],
"text": [
"taps"
],
"explain" : true
}
Response:
{
"detail": {
"custom_analyzer": true,
"charfilters": [],
"tokenizer": {
"name": "standard",
"tokens": [
{
"token": "taps",
"start_offset": 0,
"end_offset": 4,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70 73]",
"positionLength": 1,
"termFrequency": 1
}
]
},
"tokenfilters": [
{
"name": "lowercase",
"tokens": [
{
"token": "taps",
"start_offset": 0,
"end_offset": 4,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70 73]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "synonym_filter",
"tokens": [
{
"token": "taps",
"start_offset": 0,
"end_offset": 4,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70 73]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "bad_words_filter",
"tokens": [
{
"token": "taps",
"start_offset": 0,
"end_offset": 4,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70 73]",
"positionLength": 1,
"termFrequency": 1
}
]
},
{
"name": "stemmer_filter",
"tokens": [
{
"token": "tap",
"start_offset": 0,
"end_offset": 4,
"type": "<ALPHANUM>",
"position": 0,
"bytes": "[74 61 70]",
"keyword": false,
"positionLength": 1,
"termFrequency": 1
}
]
}
]
}
}