Default analyzer in ES 2.1.1

How does default analyzer(index_analyzer and search_analyzer) works in Elastic Search 2.1.1 ??
What is the difference between default analyzer compared to 1.x?

The default index and search analysers are both the same.

The default analyser didn't change between 1.X and 2.X though, which leads me to ask, why are you asking?

how does default analyzer work in Elastic Search. Can anyone explain with an example

Take a look at https://www.elastic.co/guide/en/elasticsearch/reference/2.2/analysis-standard-analyzer.html