I'm quite new to ElasticSearch, so if I overlook something obvious/basic, please forgive me.
Now I'm using ElasticSearch at work, and want to see how the complex settings of analyzers/tokenizers/filters--which are set by my predecessors--split texts into tokens.
I did some research and found the way to do it:
GET /_analyze
{
"tokenizer" : "whitespace",
"filter" : ["lowercase", {"type": "stop", "stopwords": ["a", "is", "this"]}],
"text" : "this is a test"
}
However, as I said, the settings of analyzers/tokenizers/filters is so complicated that writing the details every time I test the settings would horribly slow me down.
So I want to analyze a text with analyzers/tokenizers/filters settings already applied to an index. Is there way to do that?
I would appreciate it if anyone would shed some lights on it.