I want to create a custom analyzer which generates tokens so that in each token, one pair of adjacent words are concatenated while preserving rest of the query string.
Example Query : "quick brown fox jumps"
Generated tokens: "quickbrown fox jumps", "quick brownfox jumps", "quick brown foxjumps"