How do we know the list of analyzer(s) applied on the particular document?


(Ram Sunka) #1

Hi,
I am new to elastic search. So guys, could you please let me know the answer for the below question:

How do we know the list of analyzer(s) applied on the particular document?


(Mike Barretta) #2

@chandu Analyzers are defined at an index level via an index setting (and example update of that setting is here) and/or a field mapping. If no analyzer is defined, the default standard analyzer is used for text fields.

So, you can view the list of defined analyzers by viewing the index mapping:

GET /twitter/_mapping/tweet

Again, if you have text fields and haven't explicitly set an analyzer, it'll use the default. Should also mention that this is for 5.0. In 4.0 you have string fields which can be set to "not analyzed" (see the note here)


(Ram Sunka) #3

Thank you Mike.

But, we are using elastic search version 1.3.2.

What could be the process to see the list of Analyzers in the case of 1.3.2.


(Mike Barretta) #4

it would be the same, just that there is a way to disable analyzers on string fields, which no longer exist for newly created indices in 5.x


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.