I am trying to implement a new index which will contain consecutive words in pairs, for example I have a sentence like;
I am going home
So I want to analyze the sentence as:
I am, am going, going home ....
Do elasticsearch has any configuration for this or I need to write the code which will index the words after combining with each other ?