October 2019
Beginner
186 pages
5h 39m
English
In Elasticsearch, we have different options for character filters, tokenizers, and token filters and we can pick them as per the requirements. After applying the analyzer, we can find out how the analyzer is working by hitting the analyze API. The analyze API is important as it allows users to understand the terms that are produced by the analyzer.
The following example shows the analyze API for the whitespace analyzer:
POST _analyze { "analyzer": "whitespace", "text": "It's not rocket science."}
In the following expression, we are setting tokenizer and filter on the text:
POST _analyze { "tokenizer": "standard", "filter": ["lowercase", "asciifolding"], "text": "Is this déja vu?"}
Now, let's see about different types ...
Read now
Unlock full access